Gets an annotation's color.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public ColorPt GetColorAsGray()
Public Function GetColorAsGray As ColorPt
public:
virtual ColorPt^ GetColorAsGray() sealed
function GetColorAsGray();
Return Value
Type:
ColorPt A ColorPt object containing a number in the range 0.0 to 1.0,
representing a Gray Scale 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
IAnnotGetColorAsGraySee Also