Gets the Uid for a new shape.
// Java public long GetNewUid();
// Oxygene public function GetNewUid : TGIS_Uid; virtual;
| long |
|0 if Uid not assigned (in fact, only for pixel layers) or Uid value.|
When using this operation, never call any function which uses FindFirst..FindNext (i.e., any function which iterates through the shapes using it). So never use inside an operation like Locate, PaintScope>, etc.