PDFView4NET WinForms Edition


The field to highlight.
The color of highlight.
HighlightFormField Method
Highlights the form field with the specified color.
Syntax
'Declaration
 
Public Sub HighlightFormField( _
   ByVal fieldName As String, _
   ByVal highlightColor As Color _
) 
'Usage
 
Dim instance As PDFPageView
Dim fieldName As String
Dim highlightColor As Color
 
instance.HighlightFormField(fieldName, highlightColor)
public void HighlightFormField( 
   string fieldName,
   Color highlightColor
)

Parameters

fieldName
The field to highlight.
highlightColor
The color of highlight.
Remarks
The form field is highlighted by drawing a rectangle with the highlight color over the field rectangle. The highlight color should be a transparent color in order to avoid complete blocking of field content.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also