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

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

Create a shape instance from an existing shape or from raw internal geometry data with an explicit dimension type.

Available also on: Delphi | Python.

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 Source shape to clone or use as a template. If assigned, _ptr, _mapped, _uid, and _layer are ignored.
_ptr SYSINT Pointer or platform-specific buffer containing internal shape geometry data.
_mapped WordBool True if _ptr references memory-mapped data; False if it references regular in-memory data.
_uid OleVariant Unique identifier assigned to the shape.
_layer ITGIS_LayerVector Vector layer that owns or provides context for the shape.
_dim TGIS_DimensionType Coordinate dimension type for the shape geometry, such as 2D, 3D, or measured coordinates.

Remarks

For normal use,TGIS_LayerVector.CreateShape is recommended instead.

PURPOSE: Create a shape with explicit coordinate dimensionality for use with vector geometry stored in raw buffers or cloned from an existing shape.

BEHAVIOR: Initializes the shape and delegates setup toRecreate, including the requested dimension type.

CONSTRAINTS: Intended mainly for internal or advanced use. The supplied dimension type must match the actual geometry data.

Example

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

2026/07/05 01:25

Page Tools