PushButtonWidgetSetTextColor 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
)
Public Sub SetTextColor (
color As ColorPt,
col_comp As UInteger
)
public:
virtual void SetTextColor(
[InAttribute] ColorPt^ color,
[InAttribute] unsigned int col_comp
) sealed
function SetTextColor(color, 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 Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also