PDFVisualPageReorderEventArgs¶
Namespace: O2S.Components.PDF4NET.View
Defines the event arguments for PDFThumbnailsView.BeforePageReorder and PDFThumbnailsView.AfterPageReorder events.
Inheritance Object → EventArgs → PDFVisualPageReorderEventArgs
Properties¶
Cancel¶
Gets or sets a value indicating whether the reorder operation should be canceled or not.
Property Value
Boolean
True if the reorder operation should be canceled. Default is false.
Remarks
This property is used in only PDFThumbnailsView.BeforePageReorder event handler to cancel the reorder operation. If set to true, the pages will not be reordered and the PDFThumbnailsView.AfterPageReorder event will not be raised.
InsertPosition¶
Gets the position in the document where the pages are inserted.
Property Value
Int32
Index in the document where the pages are inserted.
Remarks
The first page in the list is inserted in this position, the next page is inserted at insertPosition + 1 and so on.
Pages¶
Gets the list of pages being reordered.
Property Value
Int32[]
The list of pages being reordered.