AddAssociatedFileFromStream
Associated files, attachments, streams
Opis
Creates one embedded-file stream from Source and registers its file specification in both the embedded-file name tree and catalog associated-file array
Syntax
Function AddAssociatedFileFromStream(Source: TStream; Const DisplayName, MIMEType, Description, Relationship: WideString): Integer;Návratová hodnota
Vráti nenulový handle vloženého súboru pri úspechu alebo 0 pri zlyhaní
Remarks
Celý stream sa prečíta od offsetu nula, pôvodná pozícia sa obnoví a parametre vloženia zahŕňajú veľkosť, kontrolný súčet a časové pečiatkyStream musí byť neprázdny a nesmie byť väčší ako
MaxInt