Click or drag to resize

CMAPExportAreaRaster Method

Export an area of a map to a non-geo raster format.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void ExportAreaRaster(
	string name,
	string view,
	double min_x,
	double min_y,
	double max_x,
	double max_y,
	int size_x,
	int size_y,
	double dpi,
	int bits,
	int dither,
	string format,
	string options
)

public void ExportAreaRaster(
	string name,
	string view,
	double min_x,
	double min_y,
	double max_x,
	double max_y,
	int size_x,
	int size_y,
	double dpi,
	int bits,
	int dither,
	string format,
	string options
)

Parameters

name
Type: SystemString
File Name To Export
view
Type: SystemString
View to export coordinates in
min_x
Type: SystemDouble
Area To Export Min X location in view units
min_y
Type: SystemDouble
Area To Export Min Y location in view units
max_x
Type: SystemDouble
Area To Export Max X location in view units
max_y
Type: SystemDouble
Area To Export Max Y location in view units
size_x
Type: SystemInt32
Number of Pixels in X (X or Y should be specified the other should be 0 and computed by export, or both can be 0 and DPI defined)
size_y
Type: SystemInt32
Number of Pixels in Y (X or Y should be specified the other should be 0 and computed by export, or both can be 0 and DPI defined)
dpi
Type: SystemDouble
Resolution in DPI (will override X and Y if not dummy, map page size will be used to determine pixel size of output)
bits
Type: SystemInt32
<define>MAP_EXPORT_BITS</define>
dither
Type: SystemInt32
<define>MAP_EXPORT_METHOD</define>
format
Type: SystemString
<define>MAP_EXPORT_RASTER_FORMAT</define>
options
Type: SystemString
Extended Options String (format specific)
See Also