DocumentSplitterSplitCOM Method (String, String)
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
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'.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
Parameters
- sourceDocument
- Type: SystemString
The source document. - ranges
- Type: SystemString
Comma-separated list of page ranges in form "1-4,5,7,8-15,16-". Page numbers are 1-based. Ending "-" means "to the last page". You can also use inverted page numbers adding '!' before the number. E.g. "!1" means "the last page", "2-!2" means "from the second to the penultimate page", "!2-" - last two pages". Also, you can also use single asterisk "*" character as the range to split the document into separate pages. Double asterisk "**" will split document into pairs of pages.
Return Value
Type: ObjectArray of file names of generated document parts.
Implements
IDocumentSplitterSplitCOM(String, String)See Also