DACloseFile
Description
Closes a file that was originally opened using the DAOpenFile function. Any changes made to the file are lost. If you would like to keep your changes you must use either the DASaveAsFile function or the DAAppendFile function before closing the file.
Syntax
Delphi
function TQuickPDF0813.DACloseFile(FileHandle: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::DACloseFile(FileHandle As Long) As Long
DLL
int QuickPDFDACloseFile(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, the file may already have been closed |
| 1 | The file was closed successfully |