User Tools

Site Tools


api:dk11:delphi:gislayersqlogis.tgis_layersqlogisabstract.getnewuid_void

Table of Contents

TGIS_LayerSqlOgisAbstract.GetNewUid method

DK11 for Delphi | GisLayerSqlOgis.TGIS_LayerSqlOgisAbstract.GetNewUid | Constructors | Fields | Methods | Properties

Get Uid for a new shape.

Available also on: .NET | Java.

Overrides TGIS_LayerVector.GetNewUid.

Syntax

// Delphi
public
  function GetNewUid : TGIS_Uid; override;
// C++ Builder
public:
  virtual TGIS_Uid* GetNewUid(void);

Result

Type Description
TGIS_Uid

Remarks

Use this method to find a Uid for a new shape. It simply uses GetLastUid method to obtain next id. See example in GetLastUid.

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, PaintScope> etc.).

2019/09/27 01:08