User Tools

Site Tools


api:dk11:delphi:gislayervector.tgis_shape.reverse_boolean

Table of Contents

TGIS_Shape.Reverse(Boolean) method

DK for Delphi | GisLayerVector.TGIS_Shape.Reverse | Overloads | Constructors | Fields | Methods | Properties

Reverse the order of parts.

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

Syntax

// Delphi
public
  function Reverse(
    const _returnnewobj : Boolean
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* Reverse(
    const bool _returnnewobj
  ) /* overload */;

Parameters

Name Type Description
_returnnewobj Boolean if True, then result will be returned in a newly created object; if False, then self object will be returned

Result

Type Description
TGIS_Shape If _returnnewobj=True, then returns newly created shape. otherwise returns modified or unmodified self object.

Remarks

Use this method to reverse the order of parts in multipart shape. The shape structure will be rebuilt. See example.

2025/01/31 01:09

Page Tools