Click or drag to resize

CSHPiAddStringField Method

Add a string 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 iAddStringField(
	string field,
	int width
)

public int iAddStringField(
	string field,
	int width
)

Parameters

field
Type: SystemString
Field name
width
Type: SystemInt32
Maximum number of characters in the string

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