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.
// 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;
| 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. |
| Type | Description |
|---|---|
| ITGIS_Shape | The reversed shape, either as a new object or as the modified source shape, depending on _returnnewobj. |
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.