User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_viewerwnd.centerviewport_itgis_point

Table of Contents

ITGIS_ViewerWnd.CenterViewport method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ViewerWnd.CenterViewport | Methods | Properties

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

Available also on: Delphi FMX | .NET WinForms | Java.

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
2020/05/22 01:05

Page Tools