PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFStringLayoutOptions Class / setHeight Method
The height of text rectangle.
Collapse All Expand All
In This Topic

setHeight Method
In This Topic
Sets the height of rectangle that defines the text location.
The text is cut when its height is greater than this height. If this is 0 or negative, its value is ignored and the text overflows.
Syntax

    public void setHeight(
       double value
    )

#### Parameters

value
  The height of text rectangle.

See Also

#### Reference

PDFStringLayoutOptions Class
PDFStringLayoutOptions Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.