User Tools

Site Tools


api:dk11:net:tatukgis.ndk.wpf.tgis_viewerwnd.setviewport_double_double

Table of Contents

TGIS_ViewerWnd.SetViewport method

DK11 for .NET | TatukGIS.NDK.WPF.TGIS_ViewerWnd.SetViewport | Constructors | Methods | Properties | Events

Set viewport to a given position.

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

Syntax

// C#
public void SetViewport(
  ref double _x,
  ref double _y
);
' VisualBasic
Public Sub SetViewport(
  ByRef _x As Double,
  ByRef _y As Double
)
// Oxygene
public
  procedure SetViewport(
    var _x : Double;
    var _y : Double
  );

Parameters

Name Type Description
_x double
Double
x coordinate
_y double
Double
y coordinate
2017/09/04 11:30