Link Search Menu Expand Document

IReaderSplitDocumentCOM Method

COM/ActiveX compatible function for Split(string sourceDocument, string ranges) that returns string with filenames delimited by line feed \n Splits PDF or TIFF document to multiple documents according to specified ranges.

Namespace:Bytescout.BarCodeReader
Assembly: Bytescout.BarCodeReader (in Bytescout.BarCodeReader.dll) Version: 12.0.1.2142-master
Syntax
Object SplitDocumentCOM(
	string sourceDocument,
	string ranges
)

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".

Return Value

Type: Object
Array of file names of generated document parts.
See Also

Reference