AddAssociatedFileFromFile
povezane datoteke, priloge, vnos datotek
Opis
Vgradi datoteko enkrat, jo doda v imensko drevo /EmbeddedFiles in registrira isto specifikacijo datoteke v tabeli /AF kataloga dokumentaPrazen
DisplayName uporablja ime izvorne datoteke brez poti imenika
Sintaksa
Delphi in ActiveX
Function AddAssociatedFileFromFile(Const FileName, DisplayName, MIMEType, Description, Relationship: WideString): Integer;DLL
int DLAddAssociatedFileFromFile(int InstanceID, const wchar_t* FileName, const wchar_t* DisplayName, const wchar_t* MIMEType, const wchar_t* Description, const wchar_t* Relationship)Vrnjena vrednost
Vrne neničelni ročaj vgrajene datoteke ob uspehu ali 0, kadar spodletita validacija ali vnos
Opombe
Relationship mora biti Source, Data, Alternative, Supplement ali UnspecifiedPovezane datoteke zahtevajo PDF 1.7 in jih zavrnejo profili PDF/A, ki prepovedujejo vgrajene datoteke
Glejte tudi
AddAssociatedFileFromStream, GetAssociatedFileCount, AddRichMediaAnnotationFromEmbeddedFile
ActiveX
PDFlib::AddAssociatedFileFromFile(...)