Skip to content

# PDFVisualPageDeleteEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the event arguments for and events.

    public class PDFVisualPageDeleteEventArgs : PDFVisualPageEventArgs

Inheritance Object → EventArgs → PDFVisualPageEventArgs → PDFVisualPageDeleteEventArgs

## Properties

### AllowDelete

Gets or sets a value indicating whether the page should be deleted or not.

    public bool AllowDelete { get; set; }

Property Value

Boolean
True if the page should be deleted. Default is false.

Remarks

This property is not used by the event.

### PageNumber

Gets the page number.

    public int PageNumber { get; }

Property Value

Int32
The number of the page that generated the event.

### VisualPage

Gets the page.

    public PDFVisualPage VisualPage { get; }

Property Value

PDFVisualPage
The page that generated the event.