PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFRectilinearMeasure Class / setScaleRatio Method
A text string expressing the scale ratio of the drawing in the region corresponding to this object.
Collapse All Expand All
In This Topic

setScaleRatio Method
In This Topic
Sets the scale ratio.
Universally recognized unit abbreviations should be used, either matching those of the number format collections in this object or those of commonly used scale ratios.
For example: 1/4 in = 1 ft
Syntax

    public void setScaleRatio(
       java.lang.String scaleRatio
    )

#### Parameters

scaleRatio
  A text string expressing the scale ratio of the drawing in the region corresponding to this object.

Exceptions

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

See Also

#### Reference

PDFRectilinearMeasure Class
PDFRectilinearMeasure Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.