Debenu Quick PDF logo

SetTempFile

Miscellaneous functions

Description

Specifies a temporary file which can be used during operations such as encryption. This allows large documents to be processed without running out of memory.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetTempFile(FileName: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetTempFile(FileName As String) As Long

DLL

int DPLSetTempFile(int InstanceID, wchar_t * FileName)

Parameters

FileName The full path and file to use as a temporary file. This path must have write access by the running process. For example, "c:\temp\pdftemp.dat".

Return values

0 The path specified was not valid. A temporary file could not be created.
1 The temporary file could be created successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport