PDF4Java Reference Documentation
com.o2sol.pdf4java.logicalstructure Package / PDFStandardLayoutAttribute Class / getWidth Method
Collapse All Expand All
In This Topic

getWidth Method
In This Topic
Gets the element width.
The value -1 indicates auto width, no specific width constraint is to be imposed; the element's width is determined by the intrinsic width of its content.
Syntax

    public double getWidth()

#### Return Value

The width of the element's content rectangle, measured in default user space units in the inline-progression direction.
See Also

#### Reference

PDFStandardLayoutAttribute Class
PDFStandardLayoutAttribute Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.