User Tools

Site Tools


api:dk11:net:tatukgis.ndk.igis_viewer.centerviewport_tgis_point

Table of Contents

IGIS_Viewer.CenterViewport method

DK for .NET | TatukGIS.NDK.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 | Java | ActiveX | Python.

Syntax

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

Parameters

Name Type Description
_ptg TGIS_Point Coordinates in map units.
2026/07/11 01:13

Page Tools