DK11 for .NET | TatukGIS.NDK.TGIS_LayerVector.GetShape | Overloads | Constructors | Fields | Methods | Properties | Events
Gets a shape by unique identifier.
// C# public TGIS_Shape GetShape( long _uid, int _cursor );
' VisualBasic Public Function GetShape( ByVal _uid As Long, ByVal _cursor As Integer ) As TGIS_Shape
// Oxygene public function GetShape( _uid : TGIS_Uid; _cursor : Integer ) : TGIS_Shape; virtual;
Type | Description |
---|---|
TGIS_Shape | Shape itself or nil/ |
Use this method to get a shape by using its unique id. We can locate a shape by id, change or read its attributes, etc. See example.
When using this operation, never call any function which uses FindFirst..FindNext (any function which iterates through the shapes using it - so never use inside an operation like Locate etc.).