DK for ActiveX | TatukGIS_XDK11.IGIS_Editor.CreateShape | Methods | Properties
Creates a new 3D shape and starts editing it.
// C# public void CreateShape( ITGIS_LayerAbstract _layer, ITGIS_Point3D _ptg, TGIS_ShapeType _type );
' VisualBasic Public Sub CreateShape( ByVal _layer As ITGIS_LayerAbstract, ByVal _ptg As ITGIS_Point3D, ByVal _type As TGIS_ShapeType )
// Oxygene public procedure CreateShape( _layer : ITGIS_LayerAbstract; _ptg : ITGIS_Point3D; _type : TGIS_ShapeType );
| Name | Type | Description |
|---|---|---|
| _layer | ITGIS_LayerAbstract | Layer that will own the new shape. |
| _ptg | ITGIS_Point3D | Starting 3D point of the new shape in Viewer coordinates. |
| _type | TGIS_ShapeType | Shape type to create; it must be supported by the layer. If TGIS_ShapeType.Unknown, the layer default shape type is used. |