User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.reset_void

Table of Contents

ITGIS_Shape.Reset method

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

Clear all geometry (vertices and parts). Reinitializes shape as empty with default type.

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

Syntax

// C#
public void Reset();
' VisualBasic
Public Sub Reset()
// Oxygene
public
  procedure Reset;

Remarks

PURPOSE:Clear geometry for reinitialization. Removes all vertices/parts in preparation for new geometry. Called before building new shape geometry.

BEHAVIOR:Deallocates all coordinate storage (Points, PointsZ, PointsM, Parts, PartTypes). Sets shape to empty state. Shape type retained.

USAGE:Reinitialize:shape.Reset; shape.Lock(Extent); shape.AddPart; shape.AddPoint(pt1); ...; shape.Unlock;

CONSTRAINTS:Virtual method (subclass may validate). Shape becomes empty (IsEmpty = true). Virtual method.

2026/06/12 22:20

Page Tools