User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_editor.createshape_2_itgis_layerabstract_itgis_point3d_tgis_shapetype_tgis_dimensiontype

Table of Contents

ITGIS_Editor.CreateShape_2 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Editor.CreateShape_2 | Methods | Properties

Create and activate editing of a new shape.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void CreateShape_2(
  ITGIS_LayerAbstract _layer,
  ITGIS_Point3D _ptg,
  TGIS_ShapeType _type,
  TGIS_DimensionType _dim
);
' VisualBasic
Public Sub CreateShape_2(
  ByVal _layer As ITGIS_LayerAbstract,
  ByVal _ptg As ITGIS_Point3D,
  ByVal _type As TGIS_ShapeType,
  ByVal _dim As TGIS_DimensionType
)
// Oxygene
public
  procedure CreateShape_2(
    _layer : ITGIS_LayerAbstract;
    _ptg : ITGIS_Point3D;
    _type : TGIS_ShapeType;
    _dim : TGIS_DimensionType
  );

Parameters

Name Type Description
_layer ITGIS_LayerAbstract TGIS_Layer which will own new shape
_ptg ITGIS_Point3D "starting" 3D of a new shape to be created; expected Viewer coordinate system
_type TGIS_ShapeType type of shape to be created; it must be type supported by layer; if TGIS_ShapeType.Unknown then shape of default type will be created
_dim TGIS_DimensionType dimension of shape to be created; it must be type supported by layer; if TGIS_ShapeType.Unknown then shape of default dimension will be created
2020/05/22 21:49

Page Tools