 | PdfFormsSetHighlightColorEx 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 int SetHighlightColorEx(
FormFieldTypes field,
int argb
)
Public Function SetHighlightColorEx (
field As FormFieldTypes,
argb As Integer
) As Integer
public:
int SetHighlightColorEx(
FormFieldTypes field,
int argb
)
member SetHighlightColorEx :
field : FormFieldTypes *
argb : int -> int
public int SetHighlightColorEx(
FormFieldTypes field,
int argb
)
function SetHighlightColorEx(field, argb);
Parameters
- field FormFieldTypes
- From field
- argb Int32
- Color in ARGB format
Return Value
Int32Previouse 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