Link Search Menu Expand Document

ISearchablePDFMakerMakePDFSearchableToVariant Method (Int32, Int32)

Processes the document with OCR (Optical Character Recognition), adds the recognized characters as invisible text over the images and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method MakePDFSearchable(Stream, Int32, Int32).

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
Object MakePDFSearchableToVariant(
	int startPage,
	int endPage
)

Parameters

startPage
Type: SystemInt32
Index of the start page of page range to process.
endPage
Type: SystemInt32
Index of the end page of page range to process. Use -1 to specify "to the end of the document".

Return Value

Type: Object
Array of bytes as Object that is exposed to ActiveX/COM as array of objects of Variant datatype ('Variant()').
See Also

Reference