PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFFileAttachmentAnnotation 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 setPosition(PDFPoint) method.

See Also

#### Reference

PDFFileAttachmentAnnotation Class
PDFFileAttachmentAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.