Click or drag to resize

GM_ExportExportRasterFromBitmap Method

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

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public static GM_Error_t32 ExportRasterFromBitmap(
	string aFilename,
	Bitmap aBitmap,
	GM_RasterExportFormat_t32 aFormat,
	GM_Rectangle_t aWorldBounds,
	GM_RasterExportFlags_t32 aFlags
)

Parameters

aFilename
Type: SystemString
Name of new file to create
aBitmap
Type: System.DrawingBitmap
Bitmap to export
aFormat
Type: GlobalMapperGM_RasterExportFormat_t32
Format to export
aWorldBounds
Type: GlobalMapperGM_Rectangle_t
(const GM_Rectangle_t*) World bounds of bitmap or NULL for last drawn
aFlags
Type: GlobalMapperGM_RasterExportFlags_t32
Export flags

Return Value

Type: GM_Error_t32
A GM Error Code
See Also