Click or drag to resize

CSHPiAddRealField Method

Add a REAL type data field to a shape file

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iAddRealField(
	string field,
	int dec
)

public int iAddRealField(
	string field,
	int dec
)

Parameters

field
Type: SystemString
Field name
dec
Type: SystemInt32
Number of decimal places

Return Value

Type: Int32
Index of the new field
Remarks
The returned field index should be used with the SetXXX_SHP functions to set individual data values.
See Also