User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.MapToScreenRect method

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

Converts rectangle coordinates from map related to screen related.

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

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
2020/05/22 01:10

Page Tools