You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem seems to be there are two Measurements with the pt value DtpPoint and PrinterPoint so when a point measurement like 10pt is parsed it fails as the code thinks it matches two items.
string value="10pt";
IQuantity quantity = Quantity.From(0, LengthUnit.Centimeter);
if (Quantity.TryParse(typeof(Length), value, out quantity) == false)
{
Console.WriteLine ("Failed");
}