User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_editor.createshape_3_itgis_layerabstract_itgis_point_tgis_shapetype

Table of Contents

IGIS_Editor.CreateShape_3 method

DK for ActiveX | TatukGIS_XDK11.IGIS_Editor.CreateShape_3 | Methods | Properties

Creates a new shape and starts editing it.

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public void CreateShape_3(
  ITGIS_LayerAbstract _layer,
  ITGIS_Point _ptg,
  TGIS_ShapeType _type
);
' VisualBasic
Public Sub CreateShape_3(
  ByVal _layer As ITGIS_LayerAbstract,
  ByVal _ptg As ITGIS_Point,
  ByVal _type As TGIS_ShapeType
)
// Oxygene
public
  procedure CreateShape_3(
    _layer : ITGIS_LayerAbstract;
    _ptg : ITGIS_Point;
    _type : TGIS_ShapeType
  );

Parameters

Name Type Description
_layer ITGIS_LayerAbstract Layer that will own the new shape.
_ptg ITGIS_Point Starting point of the new shape in Viewer coordinates.
_type TGIS_ShapeType Shape type to create; it must be supported by the layer. If TGIS_ShapeType.Unknown, the layer default shape type is used.
2026/07/11 00:07

Page Tools