TryParse
FontStyle.TryParse method
Tries to recognize a specified keyword as a proper keyword value of the ‘font-style’ and return it on success or NULL on failure.
public static bool TryParse(string keyword, out FontStyle result)
Parameter | Type | Description |
---|---|---|
keyword | String | A keyword to parse |
result | FontStyle& | Result, of parsing was successful, or Normal otherwise |
Return Value
true if parsing was successful, false otherwise
See Also
- struct FontStyle
- namespace GroupDocs.Editor.HtmlCss.Css.Properties
- assembly GroupDocs.Editor