Click or drag to resize
CIMGCreateFile Method
Creates an Image object tied to a grid file.

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
public static CIMG CreateFile(
	CGXNETCore gxNetShared,
	int type,
	string grid,
	int mode
)

Parameters

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

Return Value

Type: CIMG
IMG object
See Also