Method TryParse
TryParse(string?, out Twips)
Tries to convert an RDL size string to twips.
public static bool TryParse(string? text, out Twips value)
Parameters
textstringThe size string, for example
"2.5in".valueTwipsThe measure, clamped to the representable range.
Returns
TryParse(string?, out Twips, out bool)
Tries to convert an RDL size string to twips, reporting whether the value had to be clamped.
public static bool TryParse(string? text, out Twips value, out bool clamped)
Parameters
textstringThe size string.
valueTwipsThe measure, clamped to the representable range.
clampedbooltrue when the value was outside the representable range and was brought into it.