DK11 for Delphi | GisLayerVector.TGIS_LayerVector.GetShape | Overloads | Constructors | Fields | Methods | Properties | Events
Gets a shape by its unique identifier on default cursor (0).
// Delphi public function GetShape( const _uid : TGIS_Uid ) : TGIS_Shape; overload; virtual;
// C++ Builder public: virtual TGIS_Shape* GetShape( TGIS_Uid* const _uid ) /* overload */;
Name | Type | Description |
---|---|---|
_uid | TGIS_Uid | identifier /same as current record for SHP file/ |
Type | Description |
---|---|
TGIS_Shape | Shape itself or nil. |
The GetShape returns a weak reference to an internal shape of the current cursor, therefore is not permanent. Another call of GetShape will change this reference. To get a strong reference, call MakeEditable() or CreateCopy() on a shape.