O2S.Components.PDF4NET.View.Win Documentation
BeforeFieldAdd Event



O2S.Components.PDF4NET.View Namespace > PDFDocumentView Class : BeforeFieldAdd Event
Gets or sets the event that is fired before a form field is added through the PDFDocumentView control.
Syntax
'Declaration
 
<CategoryAttribute("PDF")>
<DescriptionAttribute("The event that is fired before a form field is added through the PDFDocumentView control")>
Public Event BeforeFieldAdd As EventHandler(Of PDFVisualFieldAddEventArgs)
'Usage
 
Dim instance As PDFDocumentView
Dim handler As EventHandler(Of PDFVisualFieldAddEventArgs)
 
AddHandler instance.BeforeFieldAdd, handler
[Category("PDF")]
[Description("The event that is fired before a form field is added through the PDFDocumentView control")]
public event EventHandler<PDFVisualFieldAddEventArgs> BeforeFieldAdd
[Category("PDF")]
[Description("The event that is fired before a form field is added through the PDFDocumentView control")]
public:
event EventHandler<PDFVisualFieldAddEventArgs^>^ BeforeFieldAdd
Event Data

The event handler receives an argument of type PDFVisualFieldAddEventArgs containing data related to this event. The following PDFVisualFieldAddEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets a value indicating whether the field should be added or not.  
Gets the field. (Inherited from O2S.Components.PDF4NET.View.PDFVisualFieldEventArgs)
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also