User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_viewerwnd.centerviewport_tgis_point

Table of Contents

TGIS_ViewerWnd.CenterViewport method

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ViewerWnd.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: Delphi FMX | Delphi VCL | .NET WPF | Java.

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
2017/09/04 11:29