PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFGeospatialMeasure Class / setPreferredDistanceDisplayUnit Method
The preferred unit for displaying distances.
Collapse All Expand All
In This Topic

setPreferredDistanceDisplayUnit Method
In This Topic
Sets the preferred unit for displaying distances.
Only these values are supported for this method: , , , , and .
Syntax

    public void setPreferredDistanceDisplayUnit(
       PDFPreferredDisplayUnit preferredDistanceDisplayUnit
    )

#### Parameters

preferredDistanceDisplayUnit
  The preferred unit for displaying distances.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When preferredDistanceDisplayUnit has an unsupported value.

See Also

#### Reference

PDFGeospatialMeasure Class
PDFGeospatialMeasure Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.