PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFNumberFormat Class / setMeasureUnit Method
A text string specifying a label for displaying the units represented by this object in a user interface; the label should use a universally recognized abbreviation.
Collapse All Expand All
In This Topic

setMeasureUnit Method
In This Topic
Sets the measure unit.
Syntax

    public void setMeasureUnit(
       java.lang.String measureUnit
    )

#### Parameters

measureUnit
  A text string specifying a label for displaying the units represented by this object in a user interface; the label should use a universally recognized abbreviation.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When measureUnit is null.

See Also

#### Reference

PDFNumberFormat Class
PDFNumberFormat Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.