THotPDF.DACloseFile Method
Closes the direct access file corresponding to the specified handle.
Declaration
function DACloseFile(FileHandle: Integer): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FileHandle | Handle identifier of the file to close |
Return values
Returns the operation status code or result integer.
Usage
- Call: THotPDF.DACloseFile
- Used to release the file handle after completing direct access reading of a PDF file.