//public IMapContext MapContext { get; set; } public static object mm2pt(object value) { if (value == null) { return(null); } if (IsNumeric(value)) { return(SymbolUtils.MillimetersToPoints(ToDouble(value))); } throw InvalidArgumentType("mm2pt", value); }