GetEmbeddedFileContentToString
Document properties
Description
Extracts the specified embedded file and returns the content as a string.
Syntax
Delphi
Function TPDFlib.GetEmbeddedFileContentToString(Index: Integer): AnsiString;
DLL
const char* DLGetEmbeddedFileContentToString(int InstanceID, int Index);
Parameters
| Index | The index of the embedded file. Must be a value between 1 and the value returned by EmbeddedFileCount. |
|---|
Return values
Returns the decoded content of the embedded file, or an empty string when Index is out of range