Click or drag to resize

PdfFormsSetHighlightColorEx Method

Set the highlight color of specified or all the form fields in the document.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public int SetHighlightColorEx(
	FormFieldTypes field,
	int argb
)

Parameters

field  FormFieldTypes
From field
argb  Int32
Color in ARGB format

Return Value

Int32
Previouse color
Remarks

When 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  Note
Alpha channel is applied to all the form fields in the document even if field was specified.

See Also