 | PdfFormsSetHighlightColor Method |
Set the highlight color of specified or all the form fields in the document.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic FS_COLOR SetHighlightColor(
FormFieldTypes field,
FS_COLOR color
)
Public Function SetHighlightColor (
field As FormFieldTypes,
color As FS_COLOR
) As FS_COLOR
public:
FS_COLOR SetHighlightColor(
FormFieldTypes field,
FS_COLOR color
)
member SetHighlightColor :
field : FormFieldTypes *
color : FS_COLOR -> FS_COLOR
public FS_COLOR SetHighlightColor(
FormFieldTypes field,
FS_COLOR color
)
function SetHighlightColor(field, color);
Parameters
- field FormFieldTypes
- From field
- color FS_COLOR
- color
Return Value
FS_COLORPreviouse color
RemarksWhen the parameter fieldType is set to FPDF_FORMFIELD_UNKNOWN, the highlight color will be applied to all the form fields in the document.
Please refresh the client window to show the highlight immediately if necessary.
Note |
---|
Alpha channel is applied to all the form fields in the document even if field was specified. |
See Also