FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.CustomFields.4.8 Assembly / C1.Win.FlexReport.CustomFields.Maps Namespace / C1Mapper Class / DistancePix Method
The specified longitude of first point.
The specified longitude of first point.
The specified longitude of second point.
The specified latitude of second point.

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
    The specified longitude of first point.
    latitude1
    The specified longitude of first point.
    longitude2
    The specified longitude of second point.
    latitude2
    The specified latitude of second point.
    See Also