User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.centerviewport_tgis_point

Table of Contents

IGIS_Viewer.CenterViewport method

DK for Delphi | GisInterfaces.IGIS_Viewer.CenterViewport | Methods | Properties

Sets the viewport so that _ptg becomes visible at the center of the screen. Same as the Center property.

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

Syntax

// Delphi
public
  procedure CenterViewport(
    const _ptg : TGIS_Point
  );
// C++ Builder
public:
  void CenterViewport(
    TGIS_Point* const _ptg
  ) = 0;

Parameters

Name Type Description
_ptg TGIS_Point Coordinates in map units.
2026/07/11 00:28

Page Tools