DocumentSplitterExtractPageRangeToVariant Method
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
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.
Namespace:Bytescout.PDFExtractorAssembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public Object ExtractPageRangeToVariant( Object sourceDocument, int startPage, int endPage )
Parameters
- sourceDocument
- Type: SystemObject
Byte array of the source document as 'Variant()'. - startPage
- Type: SystemInt32
1-based start page number to extract. - endPage
- Type: SystemInt32
1-based end page number to extract.
Return Value
Type: ObjectArray of bytes as Object that is exposed to ActiveX/COM as array of objects of Variant datatype ('Variant()').
Implements
IDocumentSplitterExtractPageRangeToVariant(Object, Int32, Int32)See Also