Click or drag to resize

GM_ExportExportRaster Method

Exports one or more layers to a new raster file (not implemented on WinCE)

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 ExportRaster(
	string aFilename,
	GM_RasterExportFormat_t32 aFormat,
	GM_Layer_t aLayer,
	GM_Rectangle_t aWorldBounds,
	int aPixelWidth,
	int aPixelHeight,
	GM_RasterExportFlags_t32 aFlags
)

Parameters

aFilename
Type: SystemString
Name of new file to create
aFormat
Type: GlobalMapper.TypesGM_RasterExportFormat_t32
Format to export
aLayer
Type: GlobalMapper.TypesGM_Layer_t
A layer to export or NULL for all
aWorldBounds
Type: GlobalMapper.TypesGM_Rectangle_t
(const GM_Rectangle_t*) World bounds to export or NULL for all
aPixelWidth
Type: SystemInt32
Width in pixels of new image
aPixelHeight
Type: SystemInt32
Height in pixels of new image
aFlags
Type: GlobalMapper.TypesGM_RasterExportFlags_t32
Export flags

Return Value

Type: GM_Error_t32
A GM Error Code
See Also