Click or drag to resize

IAnnotGetColorAsRGB Method

Gets the annotation’s active appearance state.
Sets the annotation’s active appearance state. (Required if the appearance dictionary AP contains one or more subdictionaries; PDF 1.2)
Gets an annotation's color.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
ColorPt GetColorAsRGB()

Return Value

Type: ColorPt
the name of the active state. The annotation’s appearance state, which selects the applicable appearance stream from an appearance subdictionary.

Return Value

Type: ColorPt
A ColorPt object containing an Array of three numbers in the range 0.0 to 1.0, representing an RGB colour used for the following purposes: The background of the annotation’s icon when closed The title bar of the annotation’s pop-up window The border of a link annotation If the annotation does not specify an explicit color, a default color is returned. Text annotations return 'default yellow;' all others return black.
See Also