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;
Parameters
| 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 |