IAttachmentExtractorSaveToVariant Method ByteScout PDF Extractor SDK
Saves the attachment as array of bytes. This is COM/ActiveX-compatible version of the method SaveToStream(Int32, Stream).

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.1.4801-master
Syntax

Object SaveToVariant(
	int index
)

Parameters

index
Type: SystemInt32
Attachment index.

Return Value

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

ExceptionCondition
PDFExtractorException
See Also

Reference