THPDFHeadlessTextAppearance.FirstBaseline

Unit: HPDFHeadlessAppearance

property FirstBaseline: Double read FFirstBaseline;

Read the baseline y-position in PDF points of the first logical line of a completed rich-text appearance bundle

The value is taken from the first line produced by the shaping and wrapping layout, so it reflects the actual supplied font metrics, the fitted size and the configured line advance rather than a nominal font ascent

The rich layout result surface reports the same value as its baseline, so the measurement of the first line and the layout result agree

It is measured from the appearance rectangle's lower-left origin before Rotation; it is a logical text-axis value, so any appearance Rotation is not applied to the reported number

A bundle that contains no logical line reports zero, including a plain single-run appearance that builds no wrapped line geometry and an empty bundle

The property is read-only and remains available until the bundle is destroyed, including after individual objects are detached

TextHeight · TextWidth · Appearance bundle ownership