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



O2S.Components.PDF4NET.View Namespace > PDFDocumentView Class : BeforePageDelete Event
Gets or sets the event that is fired when a page is about to be deleted using the default page context menu.
Syntax
'Declaration
 
<CategoryAttribute("PDF")>
<DescriptionAttribute("The event that is fired when a page is about to be deleted using the default page context menu")>
Public Event BeforePageDelete As EventHandler(Of PDFVisualPageDeleteEventArgs)
'Usage
 
Dim instance As PDFDocumentView
Dim handler As EventHandler(Of PDFVisualPageDeleteEventArgs)
 
AddHandler instance.BeforePageDelete, handler
[Category("PDF")]
[Description("The event that is fired when a page is about to be deleted using the default page context menu")]
public event EventHandler<PDFVisualPageDeleteEventArgs> BeforePageDelete
[Category("PDF")]
[Description("The event that is fired when a page is about to be deleted using the default page context menu")]
public:
event EventHandler<PDFVisualPageDeleteEventArgs^>^ BeforePageDelete
Event Data

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

PropertyDescription
Gets or sets a value indicating whether the page should be deleted or not.  
Gets the page number. (Inherited from O2S.Components.PDF4NET.View.PDFVisualPageEventArgs)
Gets the page. (Inherited from O2S.Components.PDF4NET.View.PDFVisualPageEventArgs)
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