This document is archived and information here might be outdated.  Recommended version.


IVideoExportUtils.GetOffScreenTiledBitmapHandle Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Animation)  

IVideoExportUtils.GetOffScreenTiledBitmapHandle Method

The tiled bitmap handle from an offscreen rendering buffer.

[Visual Basic .NET]
Public Sub GetOffScreenTiledBitmapHandle ( _
    ByVal pContainer As IAGAnimationContainer, _
    ByRef pOutputRect As tagRECT, _
    ByRef phBitmap As Integer _
)
[C#]
public void GetOffScreenTiledBitmapHandle (
    IAGAnimationContainer pContainer,
    ref tagRECT pOutputRect,
    ref int phBitmap
);
[C++]
HRESULT GetOffScreenTiledBitmapHandle(
  IAGAnimationContainer* pContainer,
  tagRECT* pOutputRect,
  long* phBitmap
);
[C++]

Parameters pContainer [in]
pContainer is a parameter of type IAGAnimationContainer pOutputRect [in]
pOutputRect is a parameter of type tagRECT phBitmap [out] phBitmap is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Using this method, you can export a custom resolution image (bitmap) from map or globe. The bitmap handle returned can be used to create a bitmap on disk. This method makes use of the offscreen rendering, which allows you to capture the bitmap even if a window is covering the main viewer. Offscreen rendering works best if your application window is maximized.

See Also

IVideoExportUtils Interface