SetAnnotInteriorColor
Annotations and hotspot links
Description
Writes an RGB interior colour to a supported shape annotation
Each component must be in the inclusive range 0 through 1
Syntax
Delphi
Function SetAnnotInteriorColor(Index: Integer; Red, Green, Blue: Double): Integer;Parameters
| Index | One-based annotation index on the currently selected page; supported subtypes are Line, Square, Circle, Polygon and PolyLine |
|---|---|
| Red | Red component in the inclusive range 0 through 1 |
| Green | Green component in the inclusive range 0 through 1 |
| Blue | Blue component in the inclusive range 0 through 1 |
Return values
| 1 | /IC was written and the document minimum version was raised to PDF 1.4 |
|---|---|
| 0 | No document is loaded, a component falls outside 0 through 1, or Index does not address a supported shape annotation |