User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_layervector.createshape_tgis_shapeclass

Table of Contents

TGIS_LayerVector.CreateShape(TGIS_ShapeClass) method

DK11 for Delphi | GisLayerVector.TGIS_LayerVector.CreateShape | Overloads | Constructors | Fields | Methods | Properties | Events

Creates a new shape and makes it editable.

Available also on: .NET | Java.

Syntax

// Delphi
public
  function CreateShape(
    const _type : TGIS_ShapeClass
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* CreateShape(
    TGIS_ShapeClass* const _type
  ) /* overload */;

Parameters

Name Type Description
_type TGIS_ShapeClass extended shape type inherited from TGIS_Shape descendent; base shape type must be supported by layer

Result

Type Description
TGIS_Shape Newly created shape or nil.

References

2020/05/07 01:09

Page Tools