Lock layer in burst-mode operation.
// Delphi public procedure Lock; virtual;
// C++ Builder public: virtual void Lock(void);
Extent for Viewer will not be refreshed (for example Extent will not be recalculated.
By calling Lock you are disabling any projection-level operations. AddPoint/GetPoint will operate in a Layer native coordinates.
See TGIS_Shape.Lock for similar example.Use this method to lock a shape for burst-mode operation. After locking AddPoint will be much faster, but please remember that the shape, layer and viewer extent will be updated after the call to Unlock. You can use Lock also to temporarily disable projections - reading/setting points will be done without any projections.
Unlock method MUST be called if Lock was used.
By calling Lock you are disabling any projection-level operations. AddPoint/GetPoint will operate in Layer native coordinates.