This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Animation > ESRI.ArcGIS.Animation > Interfaces > IV > IVideoExportUtils Interface > IVideoExportUtils.GetOffScreenTiledBitmapHandle Method (ArcObjects .NET 10.5 SDK) |
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
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.