public double GetDistanceToBorder( PointF pt )
Public Function GetDistanceToBorder ( pt As PointF ) As Double