DK for ActiveX | TatukGIS_XDK11.IGIS_Editor.CreateShape_3 | Methods | Properties
Create and activate editing of a new shape.
// C# public void CreateShape_3( ITGIS_LayerAbstract _layer, ITGIS_Point _ptg, TGIS_ShapeType _type );
' VisualBasic Public Sub CreateShape_3( ByVal _layer As ITGIS_LayerAbstract, ByVal _ptg As ITGIS_Point, ByVal _type As TGIS_ShapeType )
// Oxygene public procedure CreateShape_3( _layer : ITGIS_LayerAbstract; _ptg : ITGIS_Point; _type : TGIS_ShapeType );
Name | Type | Description |
---|---|---|
_layer | ITGIS_LayerAbstract | TGIS_Layer which will own new shape |
_ptg | ITGIS_Point | "starting" of a new shape to be created; expected Viewer coordinate system |
_type | TGIS_ShapeType | type of shape to be created; it must be type supported by layer; if TGIS_ShapeType.Unknown then shape of default type will be created |