 | CSHPCreate Method |
Create a new SHP object
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static CSHP Create(
CGXNETCore gxNetShared,
string name,
int type
)
public static CSHP Create(
CGXNETCore gxNetShared,
string name,
int type
)
Public Shared Function Create (
gxNetShared As CGXNETCore,
name As String,
type As Integer
) As CSHP
Public Shared Function Create (
gxNetShared As CGXNETCore,
name As String,
type As Integer
) As CSHP
public:
static CSHP^ Create(
CGXNETCore^ gxNetShared,
String^ name,
int type
)
public:
static CSHP^ Create(
CGXNETCore^ gxNetShared,
String^ name,
int type
)
static member Create :
gxNetShared : CGXNETCore *
name : string *
type : int -> CSHP
static member Create :
gxNetShared : CGXNETCore *
name : string *
type : int -> CSHP
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:
CSHPSHP object
Remarks
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
See Also