User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.centerviewport_tgis_point

Table of Contents

TGIS_Viewer.CenterViewport method

DK11 for Delphi | GisViewer.TGIS_Viewer.CenterViewport | Constructors | Fields | Methods | Properties | Events

Set viewport to the vale when _ptg will be visible on the center of the screen. Same as property Center

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

Syntax

Implements IGIS_Viewer.CenterViewport.

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

Parameters

Name Type Description
_ptg TGIS_Point coordinates in map units
2022/11/30 19:19

Page Tools