Click or drag to resize

CGUIIGetDATDefaults Method (Int32, Int32, String, Int32, String, Int32)

Return the user default extension and qualifier for grids/images.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void IGetDATDefaults(
	int flags,
	int open,
	ref string ext,
	int ext_size,
	ref string qual,
	int qual_size
)

public static void IGetDATDefaults(
	int flags,
	int open,
	ref string ext,
	int ext_size,
	ref string qual,
	int qual_size
)

Parameters

flags
Type: SystemInt32
<define>DAT_TYPE</define>
open
Type: SystemInt32
<define>FILE_FORM</define>
ext
Type: SystemString
Returned default extension (e.g. "grd")
ext_size
Type: SystemInt32
Buffer size for extension
qual
Type: SystemString
Returned default qualifier (e.g. "GRD")
qual_size
Type: SystemInt32
Buffer size for the qualifier
Remarks
The default grid/image filters are normally stored in "MONTAJ.DEFAULT_XGD_IN" and "MONTAJ.DEFAULT_XGD_OUT" If no filter is defined, or the filter is not found then "grd" and "GRD" are returned as the default extension and qualifier.
See Also