Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVGUtils > Routines

ParseBaselineShift(String,TSVGBaselineShiftLength) Method

Scroll Prev Top Next More

Parses the input string for baseline shift, which specifies the repositioning of the dominant-baseline relative to the dominant-baseline of the parent text content element. The shifted object might be a sub- or superscript. Within the shifted object, the whole baseline-table is offset; not just a single baseline. The amount of the shift is determined from information from the parent text content element, the sub- or superscript offset from the nominal font of the parent text content element, percent of the "line-height" of the parent text content element or an absolute value.
 

Namespace: FMX.RS.SVGUtils

Parameters

S

Type: String

Input string to parse

DefValue

Type: TSVGBaselineShiftLength

Default Value and input value. The result will be set to this object. If the input string is empty, the object will be unchanged. Otherwise, it will be modified by the input string values

Return Value

Type: TSVGBaselineShiftLength

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb