Link Search Menu Expand Document

IDocumentSplitter Interface

Represents PDF document splitter.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public interface IDocumentSplitter : IDisposable

The IDocumentSplitter type exposes the following members.

Properties
NameDescription
Public propertyCheckPermissions
Defines whether respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited.
Public propertyLicenseInfo
Gets license information.
Public propertyOptimizeSplittedDocuments
Removes unused resources from splitted document parts.
Public propertyRegistrationKey
Registration key.
Public propertyRegistrationName
Registration name.
Public propertyVersion
Gets the component version number.
Top
Methods
NameDescription
Public methodDispose (Inherited from IDisposable.)
Public methodExtractPage(Stream, Stream, Int32)
Extracts specified page from PDF or TIFF document to separate file.
Public methodExtractPage(String, String, Int32)
Extracts specified page from PDF or TIFF document to separate file.
Public methodExtractPageRange(Stream, Stream, Int32, Int32)
Extracts specified page range from PDF or TIFF document to separate file.
Public methodExtractPageRange(String, String, Int32, Int32)
Extracts specified page range from PDF or TIFF document to separate file.
Public methodExtractPageRangeToVariant
Extracts specified page range from PDF or TIFF document to separate file and returns the result documents as array of bytes. This is COM/ActiveX-compatible version of the method ExtractPageRange(Stream, Stream, Int32, Int32) for in-memory processing of PDF or TIFF files.
Public methodExtractPageToVariant
Extracts specified page from PDF or TIFF document to separate file and returns the result documents as array of bytes. This is COM/ActiveX-compatible version of the method ExtractPage(Stream, Stream, Int32) for in-memory processing of PDF or TIFF files.
Public methodGetPageCount(Stream)
Returns count of pages in PDF or TIFF document.
Public methodGetPageCount(String)
Returns count of pages in PDF or TIFF document.
Public methodRemovePage(Stream, Stream, Int32)
Removes specified page from PDF or TIFF document.
Public methodRemovePage(String, String, Int32)
Removes specified page from PDF or TIFF document.
Public methodRemovePageRange(Stream, Stream, Int32, Int32)
Removes specified page range from PDF or TIFF document to separate file.
Public methodRemovePageRange(String, String, Int32, Int32)
Removes specified page range from PDF or TIFF document to separate file.
Public methodRemovePageRangeToVariant
Removes specified page range from PDF or TIFF document to separate file and returns the result documents as array of bytes. This is COM/ActiveX-compatible version of the method RemovePageRange(Stream, Stream, Int32, Int32) for in-memory processing of PDF or TIFF files.
Public methodRemovePageToVariant
Removes specified page from PDF or TIFF document and returns the result documents as array of bytes. This is COM/ActiveX-compatible version of the method RemovePage(Stream, Stream, Int32) for in-memory processing of PDF or TIFF files.
Public methodRemoveUnusedResources(String)
Removes unused resources from specified PDF document. This method is called internally when OptimizeSplittedDocuments property is true, so you may need it to optimize documents previously splitted without the optimization.
Public methodRemoveUnusedResources(Stream, Stream)
Removes unused resources from PDF document. This method is called internally when OptimizeSplittedDocuments property is true, so you may need it to optimize documents previously splitted without the optimization.
Public methodSplit(Stream, String)
Splits PDF or TIFF document to multiple documents according to the specified ranges.
Public methodSplit(String, String)
Splits PDF or TIFF document to multiple documents according to specified ranges.
Public methodSplit(String, String, String)
Splits PDF or TIFF document to multiple documents according to specified ranges.
Public methodSplit(Stream, Stream, Stream, Int32)
Splits specified PDF or TIFF document to two documents at specified page.
Public methodSplit(String, String, String, Int32)
Splits specified PDF or TIFF document to two documents at specified page.
Public methodSplitCOM(String, String)
Splits PDF or TIFF document to multiple documents according to specified ranges. The COM/ActiveX-compatible version of the method Split(String, String). Returns a string with the file names of the generated PDF documents delimited by the line feed '\n'.
Public methodSplitCOM(String, String, String)
Splits PDF or TIFF document to multiple documents according to specified ranges. The COM/ActiveX-compatible version of the method Split(String, String). Returns a string with the file names of the generated PDF documents delimited by the line feed '\n'.
Public methodSplitToVariant
Splits PDF or TIFF document to multiple documents according to the specified ranges and returns the result PDF documents as array of bytes. This is COM/ActiveX-compatible version of the method Split(Stream, String) for in-memory processing of PDF files.
Top
Events
NameDescription
Public eventPasswordRequired
Occurs when the password required to decrypt the document.
Public eventProgressChanged
Raised for each reported progress value. Allows to cancel the processing.
Top
See Also

Reference