User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd.moveviewport_integer_integer

Table of Contents

TGIS_ViewerWnd.MoveViewport method

DK11 for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.MoveViewport | Constructors | Methods | Properties | Events

Move the screen origin of the map by delta values.

Available also on: .NET WinForms | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.MoveViewport.

// Delphi
public
  procedure MoveViewport(
    var _dx : Integer;
    var _dy : Integer
  );
// C++ Builder
public:
  void MoveViewport(
    int &_dx,
    int &_dy
  );

Parameters

Name Type Description
_dx Integer x delta in pixels
_dy Integer y delta in pixels
2022/11/16 01:14

Page Tools