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

IVideoExportUtils.GetOffScreenTiledBitmapHandle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IV > IVideoExportUtils Interface > IVideoExportUtils.GetOffScreenTiledBitmapHandle Method
ArcGIS Developer Help

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 _
public void GetOffScreenTiledBitmapHandle (
    IAGAnimationContainer pContainer,
    ref tagRECT pOutputRect,
    ref int phBitmap
HRESULT GetOffScreenTiledBitmapHandle(
  IAGAnimationContainer* pContainer,
  tagRECT* pOutputRect,
  OLE_HANDLE* phBitmap
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 OLE_HANDLE*

Product Availability

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


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