AddAssociatedFileFromVariant

Associated files, ActiveX, binary input

Description

Copies a one-dimensional byte array into one embedded-file stream and registers its file specification as a document-level associated file

Syntax

Function AddAssociatedFileFromVariant(Source: OleVariant; Const DisplayName, MIMEType, Description, Relationship: WideString): Integer

Return value

Returns a nonzero embedded-file handle on success or 0 for an invalid array or associated-file value

Remarks

The array may use any lower bound and must fit in MaxInt bytes

ActiveX

PDFlib::AddAssociatedFileFromVariant(...)