| GM_Export .ExportElevation Method |
Exports one or more layers to a new gridded elevation file
Namespace:GlobalMapperAssembly:GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
C#
public
static
GM_Error_t32
ExportElevation
(
string
aFilename
,
GM_ElevationExportFormat_t32
aFormat
,
GM_Layer_t
aLayer
,
GM_Rectangle_t
aWorldBounds
,
int
aPixelWidth
,
int
aPixelHeight
,
GM_RasterExportFlags_t32
aFlags
,
GM_ElevUnits_t8
aElevUnits
)
Parameters
- aFilename
-
Type:
System
.
String
Name of new file to create - aFormat
-
Type:
GlobalMapper
.
GM_ElevationExportFormat_t32
Format to export - aLayer
-
Type:
GlobalMapper
.
GM_Layer_t
List of layers to export or NULL for all - aWorldBounds
-
Type:
GlobalMapper
.
GM_Rectangle_t
World bounds to export or NULL for all - aPixelWidth
-
Type:
System
.
Int32
Width in samples of new image - aPixelHeight
-
Type:
System
.
Int32
Height in samples of new image - aFlags
-
Type:
GlobalMapper
.
GM_RasterExportFlags_t32
Export flags - aElevUnits
-
Type:
GlobalMapper
.
GM_ElevUnits_t8
Elevation units for export, if applicable
Return Value
Type: GM_Error_t32A GM Error Code