User Tools

Site Tools


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

Table of Contents

TGIS_LayerVector.CreateShape(TGIS_ShapeType) 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 | ActiveX.

Syntax

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

Parameters

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

Result

Type Description
TGIS_Shape Newly created shape or nil.

References

2018/02/17 00:26