DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ViewerWnd.ScreenToMapRect | Constructors | Fields | Methods | Properties | Events
Converts rectangle coordinates from screen related to map related.
Available also on: Delphi FMX | Java | ActiveX | Python.
Implements IGIS_Viewer.ScreenToMapRect.
// C# public TGIS_Extent ScreenToMapRect( TRect _rct );
' VisualBasic Public Function ScreenToMapRect( ByVal _rct As TRect ) As TGIS_Extent
// Oxygene public function ScreenToMapRect( _rct : TRect ) : TGIS_Extent;
Name | Type | Description |
---|---|---|
_rct | TRect | coordinate in screen units |
Type | Description |
---|---|
TGIS_Extent | Calculated extent. |
This is a reverse process of MapToScreenRect method. See MapToScreenRect for similar example.