PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFInkAnnotation Class / setDisplayRectangle Method
The annotation's display rectangle.
Collapse All Expand All
In This Topic

setDisplayRectangle Method
In This Topic
Sets the display rectangle of this annotation Object.
Syntax

    public void setDisplayRectangle(
       PDFDisplayRectangle displayRectangle
    )

#### Parameters

displayRectangle
  The annotation's display rectangle.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalStateException | Always. The annotation position must be set using com.o2sol.pdf4java.annotations.PDFInkAnnotation.setPoints(com.o2sol.pdf4java.graphics.PDFPoint[0:,0:]) method.

See Also

#### Reference

PDFInkAnnotation Class
PDFInkAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.