PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFTextAnnotation Class / setInteriorColor Method
A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the interior color with which to fill the annotation's icon interior.
Collapse All Expand All
In This Topic

setInteriorColor Method
In This Topic
Sets the annotation interior color.
The color must be Gray, RGB or CMYK.
Syntax

    public void setInteriorColor(
       PDFColor value
    )

#### Parameters

value
  A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the interior color with which to fill the annotation's icon interior.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When the property is set to a color other than Gray, RGB or CMYK.

See Also

#### Reference

PDFTextAnnotation Class
PDFTextAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.