PDFView4NET WinForms Edition
HighlightFormField Method




O2S.Components.PDFView4NET Namespace > PDFPageView Class : HighlightFormField Method
The field to highlight.
The color of highlight.
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
)
public: void HighlightFormField( 
   string* fieldName,
   Color 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 Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPageView Class
PDFPageView Members