PdfSplit Class

Extracts pages from a PDF document into new PDF documents: a range of pages, the pages selected by page ranges, the document split in parts of a given number of pages, or the document without some of its pages. The extracted pages keep their form fields, annotations, bookmarks and scripts. The loaded document can be password protected

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public class PdfSplit : IDisposable
Inheritance
Object    PdfSplit
Implements
IDisposable

Constructors

PdfSplit(Byte, String) Loads the PDF document to split from a memory buffer
PdfSplit(String, String) Loads the PDF document to split from a file

Properties

PageCount The number of pages of the loaded document
PdfDocumentInfo Gets a reference to the object controlling the information of the extracted documents, like the document title, author, subject or creation date. The values of the loaded document are used by default
PdfSecurityOptions Gets a reference to the object controlling the security settings of the extracted documents, like user and owner password, restrict printing or editing
PdfViewerPreferences Gets a reference to the object controlling how the extracted documents are displayed by a PDF viewer. The values of the loaded document are used by default

Methods

Dispose Releases all resources used by this instance
Dispose(Boolean) Performs the actual resource cleanup
Equals
(Inherited from Object)
ExtractPage Extracts one page into a new PDF document
ExtractPages(String) Extracts the pages selected by page ranges into a new PDF document, in the order of the ranges
ExtractPages(Int32, Int32) Extracts a range of pages into a new PDF document
ExtractPagesToFile(String, String) Extracts the pages selected by page ranges into a new PDF file, in the order of the ranges
ExtractPagesToFile(Int32, Int32, String) Extracts a range of pages into a new PDF file
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
RemovePages Creates a new PDF document with all the pages except the ones selected by page ranges
SplitByPageCount Splits the document into consecutive parts with a given number of pages. The last part holds the remaining pages
SplitByPageCountToFiles Splits the document into consecutive parts with a given number of pages, saved to files. The last part holds the remaining pages
SplitByPageRanges Splits the document into parts, each part holding the pages selected by one page ranges text
ToString
(Inherited from Object)

See Also