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.

3.4 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

dlpdfdoclinearize<br />

When it is known at document creation time that this file should be written in a<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

linearized form, this knowledge may be stored via this method <strong>and</strong> will be retrieved<br />

when the document is written.<br />

dlpdfdocsetdocinfo<br />

This method accepts couplets of information, each a string, <strong>and</strong> saves them in the<br />

document information structure of the document. This may be done at any time.<br />

dlpdfdocmakethumbnails<br />

For Adobe PDF Library v4.x <strong>and</strong> higher, this method will create a thumbnail image<br />

for each page in the document. This call may be made at any time prior to writing the<br />

document. Thumbnails will be created automatically at document write time.<br />

dlpdfdocwritepdf<br />

This call causes the document to be written to a PDF file. It accepts as parameters a<br />

document h<strong>and</strong>le, an optional string giving the name of the file to be written, <strong>and</strong> a<br />

flag indicating whether linearization is desired.<br />

If a name has been saved via dlpdfdocpdfname, that name will be used in the write,<br />

regardless of the specification of a name in the name parameter. If neither a name<br />

parameter nor a saved name is present, an exception (genErrBadParm) will be<br />

raised.<br />

If the linearize parameter is TRUE, or the method dlpdfdoclinearize has<br />

been used, the document will be linearized; otherwise, it will be nonlinearized.<br />

dlpdfdocencrypt<br />

This call causes the document contents to be encrypted using the Adobe PDF Library<br />

st<strong>and</strong>ard encryption mechanism. It accepts a DLPDFDOC pointer, a character pointer

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

Saved successfully!

Ooh no, something went wrong!