User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.maptoscreenrect_tgis_extent

Table of Contents

IGIS_Viewer.MapToScreenRect method

DK11 for Delphi | GisInterfaces.IGIS_Viewer.MapToScreenRect | Methods | Properties

Converts rectangle coordinates from map related to screen related.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  function MapToScreenRect(
    const _rct : TGIS_Extent
  ) : TRect;
// C++ Builder
public:
  TRect* MapToScreenRect(
    TGIS_Extent* const _rct
  ) = 0;

Parameters

Name Type Description
_rct TGIS_Extent coordinate in map units

Result

Type Description
TRect Calculated screen rectangle.
2018/02/17 00:05