User Tools

Site Tools


Table of Contents

ITGIS_Shape.Recreate method

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

Recreate an instance.

Available also on: Delphi.


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


Name Type Description
_source ITGIS_Shape If not nil, then the base shape will be based on this shape. Otherwise _ptr, _uid and _layer will be used.
_ptr SYSINT Address in memory where shape data exists.
_mapped WordBool True if pointer is mapped to the file
_uid OleVariant Unique identifier for shape.
_layer ITGIS_LayerVector Reference to the layer on which the shape will be created.


Use this method to recreate an instance with new basic values. Needed for faster FindNext in mapped file shapes. In such a situation shapes will be "reused" in FindNext loop. See Create method for details and example.

2020/05/07 01:04

Page Tools