PDF4Java Reference Documentation
com.o2sol.pdf4java.logicalstructure Package / PDFStandardLayoutAttribute Class / setWidth Method
The width of the element's content rectangle, measured in default user space units in the inline-progression direction.
Collapse All Expand All
In This Topic

setWidth Method
In This Topic
Sets 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 void setWidth(
       double value
    )

#### Parameters

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.