DK11 for Delphi | GisLayerVector.TGIS_LayerVector.CreateShape | Overloads | Constructors | Fields | Methods | Properties | Events
Creates a new shape and makes it editable.
// Delphi public function CreateShape( const _type : TGIS_ShapeType ) : TGIS_Shape; overload;
// C++ Builder public: TGIS_Shape* CreateShape( TGIS_ShapeType* const _type ) /* overload */;
Name | Type | Description |
---|---|---|
_type | TGIS_ShapeType | type of shape to be created; it must be a type supported by the layer; if TGIS_ShapeType.Unknown, then the default shape type will be created |
Type | Description |
---|---|
TGIS_Shape | Newly created shape or nil. |