CheckBoxWidgetSetBorderColor Method |
Sets the border color of the Widget.
(Optional)
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetBorderColor(
ColorPt c,
int CompNum
)
Public Sub SetBorderColor (
c As ColorPt,
CompNum As Integer
)
public:
virtual void SetBorderColor(
[InAttribute] ColorPt^ c,
[InAttribute] int CompNum
) sealed
function SetBorderColor(c, CompNum);
Parameters
- c
- Type: pdftron.PDFColorPt
A ColorPt object that denotes the color of the wdget border.
- CompNum
- Type: SystemInt32
An int whose value implies the color space used for the parameter c.
Remarks it is necessary to make sure the consistancy between the ColorPt type
and the ColorSpace::Type value. e_device_gray corresponds to an Array of two numbers;
e_device_rgb corresponds to an Array of 3 numbers, e_device_cmyk corresponds to an Array of
4 numnbers, while e_null correspons to an arry of 0 number. Entries out of the specified
color space Array length will be desgarded. However, missing entries for a specified color space
will throw exception either when setting the color or when later retrieving color(colorspace)
information.
This property is part of the Widget appearance Characteristics dictionary, this dictionary
that shall be used in constructing a dynamic appearance stream specifying the annotation’s visual
presentation on the page.
See Also