PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowFormXObjectContent Class / setFormXObjectWidth Method
The width of the formXObject drawn on the page.
Collapse All Expand All
In This Topic

setFormXObjectWidth Method
In This Topic
Sets the formXObject width.
The value of this property represents either a percentage (0 to 100) or an absolute value based on the value of method.
Syntax

    public void setFormXObjectWidth(
       double width
    )

#### Parameters

width
  The width of the formXObject drawn on the page.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | Thrown when width is set to a value less than 0.

See Also

#### Reference

PDFFlowFormXObjectContent Class
PDFFlowFormXObjectContent Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.