Quick PDF logo

DAAppendFile

Document management, Direct access functionality

Description

Appends any changes made to a document originally opened using the DAOpenFile function. This is a fast operation because only the changed objects must be added to the end of the original file. The file is closed after this operation and the file handle will no longer be valid. This function will not work if the source file was opened in read only mode. If you want to save changes to a new file then use DASaveAsFile instead.

Syntax

Delphi

function TQuickPDF0813.DAAppendFile(FileHandle: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::DAAppendFile(FileHandle As Long) As Long

DLL

int QuickPDFDAAppendFile(int InstanceID, int FileHandle)

Parameters

FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions

Return values

0 The specified FileHandle was not valid
1 The changes to the file were appended successfully
2 The file was opened in read only mode and the update cannot be written. Use DASaveAsFile instead.

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum