This document is archived and information here might be outdated. Recommended version. |
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,
OLE_HANDLE* 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 OLE_HANDLE*
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.