User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.MapToScreenRect method

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

Converts rectangle coordinates from map related to screen related.

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

Syntax

Implements IGIS_Viewer.MapToScreenRect.

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

Parameters

Name Type Description
_rct TGIS_Extent coordinate in map units

Result

Type Description
TRect Calculated screen rectangle.
2022/11/16 01:14

Page Tools