FreeTextSetLineColor Method |
Sets the line and border color of the FreeText Annotation.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetLineColor(
ColorPt color,
int col_comp
)
Public Sub SetLineColor (
color As ColorPt,
col_comp As Integer
)
public:
virtual void SetLineColor(
[InAttribute] ColorPt^ color,
[InAttribute] int col_comp
) sealed
function SetLineColor(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