类 GeoConvert

GeoConvert class

在不同格式之间转换坐标。

public static class GeoConvert

方法

名称描述
static AsPointText(IPoint, PointFormats)以指定格式将计算后的位置作为字符串返回。
static AsPointText(double, double, PointFormats)以指定格式将计算后的位置作为字符串返回。
static ParsePointText(string)将包含坐标的字符串转换为 IPoint 对象。
static TryParsePointText(string, out IPoint)将包含坐标的字符串转换为 IPoint 对象。返回值指示转换是成功还是失败。

另见