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

IndexOne-based annotation index on the currently selected page; supported subtypes are Line, Square, Circle, Polygon and PolyLine
RedReceives the red component from 0 to 1
GreenReceives the green component from 0 to 1
BlueReceives the blue component from 0 to 1

Return values

1The annotation has a three-component /IC array and the components were read from its numeric elements
0No document is loaded, the subtype is unsupported, Index is invalid, or /IC is absent or malformed; all three outputs stay at 0