GM_ExportExportMapLayoutComponent Method
Exports a map layout component to a bitmap image file.

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
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: SystemString
IN: name of bitmap file to save to
aPiece
Type: GlobalMapperGM_MapLayoutPiece_t8
IN: which piece of the map layout to save
aWorldBounds
Type: GlobalMapperGM_Rectangle_t
(const GM_Rectangle_t*) IN: World bounds to use for rendering layout or NULL for last drawn
aPixelWidth
Type: SystemInt32
IN: Width in pixels of FULL RENDER SCREEN (NOT LAYOUT PIECE) to use for generating map layout. Use 0 for last drawn.
aPixelHeight
Type: SystemInt32
IN: Height in pixels of FULL RENDER SCREEN (NOT LAYOUT PIECE) to use for generating map layout. Use 0 for last drawn.
aReserved
Type: SystemObject
reserved for later use, must be NULL

Return Value

Type: GM_Error_t32
A GM Error Code
See Also