User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_layervector.createshape_tgis_shapeclass

Table of Contents

TGIS_LayerVector.CreateShape(TGIS_ShapeClass) method

DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.CreateShape | Overloads | Constructors | Fields | Methods | Properties | Events

Creates a new shape and makes it editable.

Available also on: Delphi | Java.

Syntax

// C#
public TGIS_Shape CreateShape(
  TGIS_ShapeClass _type
);
' VisualBasic
Public Function CreateShape(
  ByVal _type As TGIS_ShapeClass
) As TGIS_Shape
// Oxygene
public
  function CreateShape(
    _type : TGIS_ShapeClass
  ) : TGIS_Shape;

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:18