DK11 for .NET | TatukGIS.NDK.TGIS_Viewer.MapToScreen | Constructors | Fields | Methods | Properties | Events
Converts point coordinates from map related to screen related.
Implements IGIS_Viewer.MapToScreen.
// C# public TPoint MapToScreen( TGIS_Point _ptg );
' VisualBasic Public Function MapToScreen( ByVal _ptg As TGIS_Point ) As TPoint
// Oxygene public function MapToScreen( _ptg : TGIS_Point ) : TPoint;
Name | Type | Description |
---|---|---|
_ptg | TGIS_Point | coordinate in map units |
Type | Description |
---|---|
TPoint | Map coordinates converted to screen coordinates. |
See TGIS_LayerVector.DrawLabel for example.