PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFRectilinearMeasure Class / getDistance Method
Collapse All Expand All
In This Topic

getDistance Method
In This Topic
Gets the number formats for distance.
The first element in the collection shall specify the conversion to the largest distance unit from units represented by the first element in . The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the distance function.
Syntax

    public PDFNumberFormatCollection getDistance()

#### Return Value

A number format collection for measurement of distance in any direction.
See Also

#### Reference

PDFRectilinearMeasure Class
PDFRectilinearMeasure Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.