AddAssociatedFileFromVariant

Συσχετισμένα αρχεία, ActiveX, δυαδική είσοδος

Περιγραφή

Αντιγράφει μονοδιάστατο πίνακα bytes σε ένα stream ενσωματωμένου αρχείου και καταχωρεί το file specification του ως συνημμένο επιπέδου εγγράφου

Σύνταξη

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

Τιμή επιστροφής

Επιστρέφει μη μηδενικό handle ενσωματωμένου αρχείου σε επιτυχία ή 0 για άκυρο πίνακα ή τιμή associated-file

Παρατηρήσεις

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

ActiveX

PDFlib::AddAssociatedFileFromVariant(...)