O2S.Components.PDF4NET.View.Win Documentation
AllowAdd Property (PDFVisualAnnotationAddEventArgs)



O2S.Components.PDF4NET.View Namespace > PDFVisualAnnotationAddEventArgs Class : AllowAdd Property
Gets or sets a value indicating whether the annotation should be added or not.
Syntax
'Declaration
 
Public Property AllowAdd As Boolean
'Usage
 
Dim instance As PDFVisualAnnotationAddEventArgs
Dim value As Boolean
 
instance.AllowAdd = value
 
value = instance.AllowAdd
public bool AllowAdd {get; set;}
public:
property bool AllowAdd {
   bool get();
   void set (    bool value);
}

Property Value

True if the annotation should be added. Default is true.
Remarks
This property is not used by the PDFDocumentView.AfterAnnotationAdd event.
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

Reference

PDFVisualAnnotationAddEventArgs Class
PDFVisualAnnotationAddEventArgs Members
AfterAnnotationAdd Event