GetEmbeddedFileContentToFile
Version history
This function was introduced in Quick PDF Library version 7.13.
Description
Extracts the specified embedded file and writes the content to the specified file.
Syntax
Delphi
function TQuickPDF0813.GetEmbeddedFileContentToFile(Index: Integer;
FileName: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::GetEmbeddedFileContentToFile(Index As Long,
FileName As String) As Long
DLL
int QuickPDFGetEmbeddedFileContentToFile(int InstanceID, int Index,
wchar_t * FileName)
Parameters
| Index | The index of the embedded file. Must be a value between 1 and the value returned by EmbeddedFileCount. |
| FileName | The path and file name of the file to write the contents to. |
Return values
| 0 | Could not write to the specified file or Index parameter was invalid. |
| 1 | Embedded file contents written to the specified file successfully. |