SetEmbeddedFileAssociated

Associated files, attachments, document editing

Opis

Adds an existing embedded file to the document catalog /AF array or removes its catalog association without removing the embedded payload

Syntax

Function SetEmbeddedFileAssociated(EmbeddedFileIndex, Associated: Integer; Const Relationship: WideString): Integer;

Návratová hodnota

Vráti 1 pri úspechu alebo 0 pri neplatnom indexe, príznaku alebo vzťahu

Remarks

Associated is 0 or 1When adding,

Relationship must be one of the five standard associated-file relationship namesRemoving the association preserves

/AFRelationship so embedded-file accessibility metadata remains intact

ActiveX

PDFlib::SetEmbeddedFileAssociated(...)