PDF4Java Reference Documentation
com.o2sol.pdf4java Package / PDFPage Class / setUserUnit Method
A positive number that shall give the size of default user space units, in multiples of 1/72 inch.
Collapse All Expand All
In This Topic

setUserUnit Method
In This Topic
Sets the page user unit.
Syntax

    public void setUserUnit(
       double userUnit
    )

#### Parameters

userUnit
  A positive number that shall give the size of default user space units, in multiples of 1/72 inch.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When the value being set is negative or zero.

See Also

#### Reference

PDFPage Class
PDFPage Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.