Link Search Menu Expand Document

AttachmentExtractorSaveToVariant Method

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.0.4760-master
Syntax
public 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()').

Implements

IAttachmentExtractorSaveToVariant(Int32)
Exceptions
ExceptionCondition
PDFExtractorException
See Also

Reference