Splitter

Splitter class

Provides methods intended to split the documents into parts using different criteria.

public static class Splitter

Methods

NameDescription
static ExtractPages(string, string, int, int)Extracts a specified range of pages from a document file and saves the extracted pages to a new file. The output file format is determined by the extension of the output file name.
static ExtractPages(Stream, Stream, SaveFormat, int, int)Extracts a specified range of pages from a document stream and saves the extracted pages to an output stream using the specified save format.
static ExtractPages(string, string, SaveFormat, int, int)Extracts a specified range of pages from a document file and saves the extracted pages to a new file using the specified save format.
static RemoveBlankPages(string, string)Removes empty pages from the document and saves the output. Returns a list of page numbers that were removed.
static RemoveBlankPages(Stream, Stream, SaveFormat)Removes blank pages from a document provided in an input stream and saves the updated document to an output stream in the specified save format. Returns a list of page numbers that were removed.
static RemoveBlankPages(string, string, SaveFormat)Removes empty pages from the document and saves the output in the specified format. Returns a list of page numbers that were removed.
static Split(Stream, SaveFormatSplitOptions)Splits a document from an input stream into multiple parts based on the specified split options and returns the resulting parts as an array of streams in the specified save format.
static Split(string, string, SplitOptions)Splits a document into multiple parts based on the specified split options and saves the resulting parts to files. The output file format is determined by the extension of the output file name.
static Split(string, string, SaveFormatSplitOptions)Splits a document into multiple parts based on the specified split options and saves the resulting parts to files in the specified save format.

See Also