Click or drag to resize
CSHPCreate Method
Create a new SHP object

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 file name is used to create the various files. The file type and extension are added: e.g. "filename.shp", "filename.dbf" The following geometry types are currently supported: Type Required geometry function. <define>SHP_GEOM_TYPE_POINT</define> SetPoint_SHP <define>SHP_GEOM_TYPE_ARC</define> SetArc_SHP <define>SHP_GEOM_TYPE_POLYGON</define> SetPolygon_SHP <define>SHP_GEOM_TYPE_POINTZ</define> SetPointZ_SHP <define>SHP_GEOM_TYPE_ARCZ</define> SetArcZ_SHP <define>SHP_GEOM_TYPE_POLYGONZ</define> SetPolygonZ_SHP
Syntax
public static CSHP Create(
	CGXNETCore gxNetShared,
	string name,
	int type
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
File name
type
Type: SystemInt32
<define>SHP_GEOM_TYPE</define>

Return Value

Type: CSHP
SHP object
See Also