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

getBounds Method
In This Topic
Gets the viewport bounds.
The lower left and upper right corners of the rectangle determine the orientation of the measuring coordinate system (that is, the direction of the positive x and yaxes) in this viewport, which may have a different rotation from the page.
The viewport bounds are defined in the same coordinate system like the page media box and crop box.
Syntax

    public PDFStandardRectangle getBounds()

#### Return Value

A com.o2sol.pdf4java.graphics.PDFStandardRectangle that defines the viewport area.
See Also

#### Reference

PDFViewport Class
PDFViewport Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.