User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.fullextent_void

Table of Contents

TGIS_Viewer.FullExtent method

DK for Delphi | GisViewer.TGIS_Viewer.FullExtent | Constructors | Fields | Methods | Properties | Events

Calculate the screen origin, zoom, and viewport to place the whole map in the window.

Available also on: .NET | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.FullExtent.

// Delphi
public
  procedure FullExtent; virtual;
// C++ Builder
public:
  virtual void FullExtent(void);

Remarks

USAGE: Fit all loaded layers in viewport at optimal zoom. Essential after adding layers or for "zoom to all" user action. Screen origin, zoom, and viewport automatically calculated.

gis.Add(layer)
gis.FullExtent()

References

2026/09/20 23:49

Page Tools