GetEmbeddedFileContentToStream
Document properties
Description
Extracts the specified embedded file and writes the content to the specified stream.
Syntax
Delphi
function TPDFlib.GetEmbeddedFileContentToStream(Index: Integer; OutStream: TStream): Integer;ActiveX
Function PDFlib::GetEmbeddedFileContentToStream(Index As Long, OutStream As Long) As LongParameters
| Index | The index of the embedded file. Must be a value between 1 and the value returned by EmbeddedFileCount. |
|---|---|
| OutStream | The TStream object to write the contents to |
Return values
| 0 | Could not write to the specified stream or Index parameter was invalid. |
|---|---|
| 1 | Success |