Map for WinForms | ComponentOne
C1.Win.Map Namespace / C1Map Class / ScreenToLogic Method
A point in screen coordinates (pixels from the top left corner of this control).

In This Topic
    ScreenToLogic Method (C1Map)
    In This Topic
    Transforms a point from screen coordinates to logic coordinates.
    Syntax
    'Declaration
     
    
    Public Function ScreenToLogic( _
       ByVal point As C1.Win.Interop.Point _
    ) As C1.Win.Interop.Point
    public C1.Win.Interop.Point ScreenToLogic( 
       C1.Win.Interop.Point point
    )

    Parameters

    point
    A point in screen coordinates (pixels from the top left corner of this control).

    Return Value

    The logic coordinates currently mapped to the parameter screen coordinates.
    Remarks
    The logic coordinates are the ones used by the C1.FlexMap.IMapProjection.
    See Also