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

Create a new shape and make 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 descant; base shape type must supported by layer

Result

Type Description
TGIS_Shape Newly created shape or nil.

References

2017/09/04 11:27