User Tools

Site Tools


api:dk11:delphi:vcl.gisviewerwnd.tgis_viewerwnd.setviewport_double_double

Table of Contents

TGIS_ViewerWnd.SetViewport method

DK11 for Delphi | VCL.GisViewerWnd.TGIS_ViewerWnd.SetViewport | Constructors | Methods | Properties | Events

Set viewport to a given position.

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

Syntax

// Delphi
public
  procedure SetViewport(
    var _x : Double;
    var _y : Double
  );
// C++ Builder
public:
  void SetViewport(
    double &_x,
    double &_y
  );

Parameters

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