Click or drag to resize

CIMG.CreateFile Method

Creates an Image object tied to a grid file.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static CIMG CreateFile(
	CGXNETCore gxNetShared,
	int type,
	string grid,
	int mode
)

public static CIMG CreateFile(
	CGXNETCore gxNetShared,
	int type,
	string grid,
	int mode
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetX.CGXNETCore
A shared CGXNETCore
type
Type: System.Int32
Data type, <define>GS_TYPES</define> or <define>GS_TYPE_DEFAULT</define> to use native DAT type.
grid
Type: System.String
Name of the Grid to link to
mode
Type: System.Int32
Grid file open mode <define>IMG_FILE</define>

Return Value

Type: CIMG
IMG object
Remarks
When the <define>GS_DOUBLE</define> data type is chosen the actual on-disk type of the input image will be used instead of <define>GS_DOUBLE</define> if the on-disk values represent color data as opposed to real numbers.
See Also