Click or drag to resize

WidgetSetTextColor Method

Sets the text color of the Widget Annotation.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetTextColor(
	ColorPt color,
	uint col_comp
)

Parameters

color
Type: pdftron.PDFColorPt
ColorPt object representing the color.
col_comp
Type: SystemUInt32
An integer indicating a color space value from the ColorSpace::Type enum. That is, 1 corresponding to "e_device_gray", 3 corresponding to "e_device_rgb", and 4 corresponding to "e_device_cmyk".
Exceptions
ExceptionCondition
[!:PDFNetException] PDFNetException the PDFNet exception
See Also