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

ActiveX

Function PDFlib::AddAssociatedFileFromVariant(Source As Variant, DisplayName As String, MIMEType As String, Description As String, Relationship As String) As Long

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