User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer.centerviewport_itgis_point

Table of Contents

IGIS_Viewer.CenterViewport method

DK for ActiveX | TatukGIS_XDK11.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: Delphi | .NET | Java | Python.

Syntax

// C#
public void CenterViewport(
  ITGIS_Point _ptg
);
' VisualBasic
Public Sub CenterViewport(
  ByVal _ptg As ITGIS_Point
)
// Oxygene
public
  procedure CenterViewport(
    _ptg : ITGIS_Point
  );

Parameters

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

Page Tools