User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.reverse_2_wordbool

Table of Contents

ITGIS_Shape.Reverse_2 method

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

Reverses the order of parts in a multipart shape, either in place or by creating a new result shape.

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

Syntax

// C#
public ITGIS_Shape Reverse_2(
  WordBool _returnnewobj
);
' VisualBasic
Public Function Reverse_2(
  ByVal _returnnewobj As WordBool
) As ITGIS_Shape
// Oxygene
public
  function Reverse_2(
    _returnnewobj : WordBool
  ) : ITGIS_Shape;

Parameters

Name Type Description
_returnnewobj WordBool If True, returns a new reversed shape and leaves this shape unchanged; if False, modifies this shape and returns it.

Result

Type Description
ITGIS_Shape The reversed shape, either as a new object or as the modified source shape, depending on _returnnewobj.

Remarks

PURPOSE: Reorders multipart geometry while allowing the caller to choose between copy semantics and in-place modification.

BEHAVIOR: Applies the same part-order reversal as the parameterless overload. When _returnnewobj is False, this shape is updated and returned.

CONSTRAINTS: Ownership of the result depends on _returnnewobj.

2026/07/05 01:25

Page Tools