User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.create_3_itgis_shape_sysint_wordbool_olevariant_itgis_layervector_tgis_dimensiontype

Table of Contents

ITGIS_Shape.Create_3 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Create_3 | Methods | Properties

Create a shape instance.

Available also on: Delphi.

Syntax

// C#
public void Create_3(
  ITGIS_Shape _source,
  SYSINT _ptr,
  WordBool _mapped,
  OleVariant _uid,
  ITGIS_LayerVector _layer,
  TGIS_DimensionType _dim
);
' VisualBasic
Public Sub Create_3(
  ByVal _source As ITGIS_Shape,
  ByVal _ptr As SYSINT,
  ByVal _mapped As WordBool,
  ByVal _uid As OleVariant,
  ByVal _layer As ITGIS_LayerVector,
  ByVal _dim As TGIS_DimensionType
)
// Oxygene
public
  procedure Create_3(
    _source : ITGIS_Shape;
    _ptr : SYSINT;
    _mapped : WordBool;
    _uid : OleVariant;
    _layer : ITGIS_LayerVector;
    _dim : TGIS_DimensionType
  );

Parameters

Name Type Description
_source ITGIS_Shape If not nil then base shape will be based on this shape. Otherwise _prt, _mapped, _uid and _layer will be used.
_ptr SYSINT Address in memory where shape data exists.
_mapped WordBool Id _ptr from mapped file or from memory.
_uid OleVariant Unique identity for shape.
_layer ITGIS_LayerVector Reference to the layer on which shape will be created.
_dim TGIS_DimensionType Dimension

Remarks

For usage TGIS_LayerVector.CreateShape method is recommended instead.

Use this method to create a shape. Internally it calls Recreate method.

Example

This is a simple procedure showing how to add a shape to the layer.

2020/05/08 23:16

Page Tools