Click or drag to resize

PdfFormsSetHighlightColor 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 FS_COLOR SetHighlightColor(
	FormFieldTypes field,
	FS_COLOR color
)

Parameters

field  FormFieldTypes
From field
color  FS_COLOR
color

Return Value

FS_COLOR
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