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

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

    public void setInteriorColor(
       PDFColor value
    )

#### Parameters

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

Exceptions

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

See Also

#### Reference

PDFSoundAnnotation Class
PDFSoundAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.