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: TStrings; var Inherits: Boolean ): TStrings; |
Parameters
S
Type: String
Input string to parse
DefValue
Type: TStrings
Default Value and result. The function returns this value. If the input string is blank, the default value is unchanged.
Inherits
Type: Boolean
Set to True when the input string contains 'inherit' keyword
Type: TStrings
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 |