Global Mapper SDK
| GM_Export .ExportMapLayoutComponent Method |
Exports a map layout component to a bitmap image file.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
C#
public static GM_Error_t32 ExportMapLayoutComponent ( string aFilename , GM_MapLayoutPiece_t8 aPiece , GM_Rectangle_t aWorldBounds , int aPixelWidth , int aPixelHeight , Object aReserved )
Parameters
- aFilename
-
Type:
System
.
String
IN: name of bitmap file to save to - aPiece
-
Type:
GlobalMapper
.
GM_MapLayoutPiece_t8
IN: which piece of the map layout to save - aWorldBounds
-
Type:
GlobalMapper.GM_Rectangle_t
(const GM_Rectangle_t*) IN: World bounds to use for rendering layout or NULL for last drawn - aPixelWidth
-
Type:
System
.
Int32
IN: Width in pixels of FULL RENDER SCREEN (NOT LAYOUT PIECE) to use for generating map layout. Use 0 for last drawn. - aPixelHeight
-
Type:
System
.
Int32
IN: Height in pixels of FULL RENDER SCREEN (NOT LAYOUT PIECE) to use for generating map layout. Use 0 for last drawn. - aReserved
-
Type:
System
.
Object
reserved for later use, must be NULL
Return Value
Type: GM_Error_t32A GM Error Code
Comments
0 comments
Please sign in to leave a comment.