User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.setviewport_double_double

Table of Contents

IGIS_Viewer.SetViewport method

DK for Delphi | GisInterfaces.IGIS_Viewer.SetViewport | Methods | Properties

Sets the viewport origin to a given position in map coordinates.

Available also on: .NET | ActiveX | Python.

Syntax

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

Parameters

Name Type Description
_x Double X coordinate in map units.
_y Double Y coordinate in map units.
2026/08/30 01:55

Page Tools