WatermarkGetColorAsRGB 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.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public ColorPt GetColorAsRGB()
Public Function GetColorAsRGB As ColorPt
public:
virtual ColorPt^ GetColorAsRGB() sealed
function 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.
Implements
IAnnotGetColorAsRGBSee Also