GM_ExportExportElevationEx Method |
Exports one or more layers to a new gridded elevation file
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 ExportElevationEx(
string aFilename,
GM_ElevationExportFormat_t32 aFormat,
GM_LayerList_t aLayerList,
GM_Rectangle_t aWorldBounds,
int aPixelWidth,
int aPixelHeight,
GM_RasterExportFlags_t32 aFlags,
GM_ElevUnits_t8 aElevUnits,
string aExtraFlags = ""
)
Public Shared Function ExportElevationEx (
aFilename As String,
aFormat As GM_ElevationExportFormat_t32,
aLayerList As GM_LayerList_t,
aWorldBounds As GM_Rectangle_t,
aPixelWidth As Integer,
aPixelHeight As Integer,
aFlags As GM_RasterExportFlags_t32,
aElevUnits As GM_ElevUnits_t8,
Optional aExtraFlags As String = ""
) As GM_Error_t32
public:
static GM_Error_t32 ExportElevationEx(
String^ aFilename,
GM_ElevationExportFormat_t32 aFormat,
GM_LayerList_t^ aLayerList,
GM_Rectangle_t^ aWorldBounds,
int aPixelWidth,
int aPixelHeight,
GM_RasterExportFlags_t32 aFlags,
GM_ElevUnits_t8 aElevUnits,
String^ aExtraFlags = L""
)
Parameters
- aFilename
- Type: SystemString
Name of new file to create - aFormat
- Type: GlobalMapper.TypesGM_ElevationExportFormat_t32
Format to export - aLayerList
- Type: GlobalMapper.TypesGM_LayerList_t
List of layers to export or NULL for all - aWorldBounds
- Type: GlobalMapper.TypesGM_Rectangle_t
World bounds to export or NULL for all - aPixelWidth
- Type: SystemInt32
Width in samples of new image - aPixelHeight
- Type: SystemInt32
Height in samples of new image - aFlags
- Type: GlobalMapper.TypesGM_RasterExportFlags_t32
Export flags - aElevUnits
- Type: GlobalMapper.TypesGM_ElevUnits_t8
Elevation units for export, if applicable - aExtraFlags (Optional)
- Type: SystemString
Additional text-based flags for some formats (use empty string for defaults)
Return Value
Type:
GM_Error_t32A GM Error Code
See Also