Debenu Quick PDF logo

GetEmbeddedFileContentToFile

Document properties

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 TDebenuPDFLibrary1511.GetEmbeddedFileContentToFile(Index: Integer; 
  FileName: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetEmbeddedFileContentToFile(
  Index As Long, FileName As String) As Long

DLL

int DPLGetEmbeddedFileContentToFile(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.

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport