GetAnnotInteriorColor
Annotations and hotspot links
Description
Reads an explicit three-component interior colour
Supports Line, Square, Circle, Polygon and PolyLine annotations
Syntax
Delphi
Function GetAnnotInteriorColor(Index: Integer; Out 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 | Receives the red component from 0 to 1 |
| Green | Receives the green component from 0 to 1 |
| Blue | Receives the blue component from 0 to 1 |
Return values
| 1 | The annotation has a three-component /IC array and the components were read from its numeric elements |
|---|---|
| 0 | No document is loaded, the subtype is unsupported, Index is invalid, or /IC is absent or malformed; all three outputs stay at 0 |