PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.formattedcontent Package / PDFFormattedParagraph Class / getBackgroundBaselineOffset Method
Collapse All Expand All
In This Topic

getBackgroundBaselineOffset Method
In This Topic
Gets the background baseline offset.
The offset is given in PDF points. By default the background baseline matches the text baseline. If you want to lower it so that it covers the descent part of the text, you can set it to a negative value.
Syntax

    public double getBackgroundBaselineOffset()

#### Return Value

Offset from text baseline for drawing the background.
See Also

#### Reference

PDFFormattedParagraph Class
PDFFormattedParagraph Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.