| 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.GXNetXAssembly: 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
)
Public Function iAddStringField (
field As String,
width As Integer
) As Integer
public:
int iAddStringField(
String^ field,
int width
)
member iAddStringField :
field : string *
width : int -> int
Parameters
- field
- Type: SystemString
Field name - width
- Type: SystemInt32
Maximum number of characters in the string
Return Value
Type:
Int32Index of the new field
See Also