FreeTextSetTextColor Method |
Sets the text color of the FreeText Annotation.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetTextColor(
ColorPt color,
int col_comp
)
Public Sub SetTextColor (
color As ColorPt,
col_comp As Integer
)
public:
virtual void SetTextColor(
[InAttribute] ColorPt^ color,
[InAttribute] int col_comp
) sealed
function SetTextColor(color, col_comp);
Parameters
- color
- Type: pdftron.PDFColorPt
ColorPt object representing the color.
- col_comp
- Type: SystemInt32
number of colorant components in ColorPt object.
Remarks Current implementation of this method creates a non-standard
entry in the annotation dictionary and uses it to generate the appearance
stream. Make sure you call RefreshAppearance() after changing text or
line color, and remember that editing the annotation in other PDF
application will produce different appearance.
See Also