Parses the input string for a font size value, which refers to the size of the font from baseline to baseline when multiple lines of text are set solid in a multiline layout environment.
The allowable inputs are absolute-size | relative-size | length | percentage | inherit
Namespace: FMX.RS.SVGUtils
Delphi |
function ParseFontSize( S: String; DefValue, ParentSize: Single; |
Parameters
S
Type: String
DefValue
Type: Single
ParentSize
Type: Single
Inherits
Type: Boolean
UnitFactors
Type: TSVGUnitFactors
Type: Single
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 |