Click or drag to resize
CSHPiAddStringField Method
Add a string type data field to a shape file

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

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The returned field index should be used with the SetXXX_SHP functions to set individual data values.
Syntax
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
See Also