TryParse
FontStyles.TryParse method
Tries to parse specified raw string as a font style name
public static bool TryParse(string style, out FontStyles parsed)
Parameter | Type | Description |
---|---|---|
style | String | String that should be parsed as a font style |
parsed | FontStyles& | Parsed font style on success or Regular on failure |
Return Value
true
if string was successfully parsed as a correct font style; false
otherwise
See Also
- struct FontStyles
- namespace GroupDocs.Viewer.Fonts
- assembly GroupDocs.Viewer