Link Search Menu Expand Document

IDocumentOptimizerOptimizeDocumentToVariant Method (Object)

Optimizes PDF document with default options and returns the result PDF document as array of bytes. This is COM/ActiveX-compatible version of the method OptimizeDocument(Stream, Stream).

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.0.1.4281-master
Syntax
Object OptimizeDocumentToVariant(
	Object sourceDocument
)

Parameters

sourceDocument
Type: SystemObject
Byte array of the source PDF document as 'Variant()'.

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


Copyright © 2016 - 2021 ByteScout