Parses the input string for a font family name value, which indicates which font family is to be used to render the text, specified as a prioritized list of font family names and/or generic family names
The allowable inputs are
[[ family-name | generic-family ],]* [family-name | generic-family] | inherit
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseFontFamily( S: String; DefValue: String; var Inherits: Boolean ): String; |
Parameters
S
Type: String
DefValue
Type: String
Inherits
Type: Boolean
Type: String
If the string is blank, the function returns the default value ( DefValue). If the string contains 'inherits', the function returns the default value and sets the Inherits parameter to true. |
Reference |