22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DLI</strong> <strong>Reference</strong> <strong>Guide</strong> A.165<br />

dlpdfterm (DLPDFINSTANCE * instance)<br />

Return Value: void<br />

Description<br />

Parameters<br />

Return Value<br />

Terminates the Adobe PDF Library <strong>and</strong> <strong>DLI</strong>.<br />

All active documents should be closed prior to<br />

this call.<br />

DLPDFINSTANCE *instance<br />

void<br />

Exceptions<br />

Header<br />

Related Methods<br />

Availability<br />

dli.h<br />

dlpdfinit,<br />

dlpdfttload<br />

All <strong>DLI</strong>-supported platforms.<br />

Technical Notes<br />

1 This will typically be one of the last calls of a program using <strong>DLI</strong>.<br />

2 In a multi-threaded application, each thread must do its own initialization <strong>and</strong><br />

termination of the Library.<br />

3 dlpdfinit <strong>and</strong> dlpdfterm are the only methods which must not be enclosed in<br />

exception h<strong>and</strong>lers (i.e. DURING/HANDLER/END_HANDLER statements), because<br />

they are not set up before initialization, <strong>and</strong> are freed during termination.<br />

4 As of <strong>DLI</strong> v3.0.11, the dlpdfterm call now removes memory files used for the<br />

dlpdfttload call if the Files In Memory filesystem is used, <strong>and</strong> if these files are<br />

no longer in use.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!