Click or drag to resize

GM_ExportExportMapLayoutComponent 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)
Syntax
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: GlobalMapper.TypesGM_MapLayoutPiece_t8
IN: which piece of the map layout to save
aWorldBounds
Type: GlobalMapper.TypesGM_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