User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layervector.createshape_tgis_shapetype

Table of Contents

ITGIS_LayerVector.CreateShape method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerVector.CreateShape | Methods | Properties

Creates a new shape and makes it editable.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public ITGIS_Shape CreateShape(
  TGIS_ShapeType _type
);
' VisualBasic
Public Function CreateShape(
  ByVal _type As TGIS_ShapeType
) As ITGIS_Shape
// Oxygene
public
  function CreateShape(
    _type : TGIS_ShapeType
  ) : ITGIS_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
ITGIS_Shape Newly created shape or nil.

References

2020/05/28 09:04

Page Tools