Reports for WinForms | ComponentOne
C1.C1Report.CustomFields.4 Assembly / C1.C1Report.CustomFields.Maps Namespace / C1Mapper Class / DistancePix Method

In This Topic
    DistancePix Method
    In This Topic
    Calculates screen distance (in 96dpi pixels) between two points.
    Syntax
    'Declaration
     
    Public Function DistancePix( _
       ByVal longitude1 As Double, _
       ByVal latitude1 As Double, _
       ByVal longitude2 As Double, _
       ByVal latitude2 As Double _
    ) As Double
    public double DistancePix( 
       double longitude1,
       double latitude1,
       double longitude2,
       double latitude2
    )

    Parameters

    longitude1
    latitude1
    longitude2
    latitude2
    See Also