DocumentSplitter Class
 Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
 Represents PDF and TIFF document splitter.
Inheritance Hierarchy
Bytescout.PDFExtractorDocumentSplitter
Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
The DocumentSplitter type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DocumentSplitter |  Initializes a new instance of DocumentSplitter class.  | |
| DocumentSplitter(String, String) |  Initializes a new instance of DocumentSplitter class.  | 
Properties
| Name | Description | |
|---|---|---|
| CheckPermissions |  Defines whether respect permissions set by document owner. If True, extractor throws exception when the extraction is prohibited.  | |
| LicenseInfo |  Gets license information.  | |
| OptimizeSplittedDocuments |  Removes unused resources from splitted document parts.  | |
| RegistrationKey |  Registration key.  | |
| RegistrationName |  Registration name.  | |
| Version |  Gets the component version number.  | 
Methods
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the DocumentSplitter  | |
| Equals | (Inherited from Object.) | |
| ExtractPage(Stream, Stream, Int32) |  Extracts specified page from PDF or TIFF document to separate file.  | |
| ExtractPage(String, String, Int32) |  Extracts specified page from PDF or TIFF document to separate file.  | |
| ExtractPageRange(Stream, Stream, Int32, Int32) |  Extracts specified page range from PDF or TIFF document to separate file.  | |
| ExtractPageRange(String, String, Int32, Int32) |  Extracts specified page range from PDF or TIFF document to separate file.  | |
| ExtractPageRangeToVariant |  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.  | |
| ExtractPageToVariant | ||
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetPageCount(Stream) |  Returns count of pages in PDF or TIFF document.  | |
| GetPageCount(String) |  Returns count of pages in PDF or TIFF document.  | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| RemovePage(Stream, Stream, Int32) |  Removes specified page from PDF or TIFF document.  | |
| RemovePage(String, String, Int32) |  Removes specified page from PDF or TIFF document.  | |
| RemovePageRange(Stream, Stream, Int32, Int32) |  Removes specified page range from PDF or TIFF document to separate file.  | |
| RemovePageRange(String, String, Int32, Int32) |  Removes specified page range from PDF or TIFF document to separate file.  | |
| RemovePageRangeToVariant |  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.  | |
| RemovePageToVariant |  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.  | |
| RemoveUnusedResources(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.  | |
| RemoveUnusedResources(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.  | |
| Split(Stream, String) |  Splits PDF or TIFF document to multiple documents according to the specified ranges.  | |
| Split(String, String) |  Splits PDF or TIFF document to multiple documents according to specified ranges.  | |
| Split(String, String, String) |  Splits PDF or TIFF document to multiple documents according to specified ranges.  | |
| Split(Stream, Stream, Stream, Int32) |  Splits specified PDF or TIFF document to two documents at specified page.  | |
| Split(String, String, String, Int32) |  Splits specified PDF or TIFF document to two documents at specified page.  | |
| SplitCOM(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'.  | |
| SplitCOM(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'.  | |
| SplitToVariant |  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.  | |
| ToString | (Inherited from Object.) | 
Events
| Name | Description | |
|---|---|---|
| PasswordRequired |  Occurs when the password required to decrypt the document.  | |
| ProgressChanged |  Raised for each reported progress value. Allows to cancel the processing.  | 
See Also