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.65<br />

dlpdfdocsetencoding (DLPDFDOC *Doc, ASAtom<br />

Encoding)<br />

Return Value: void<br />

Description<br />

Parameters<br />

Return Value<br />

Exceptions<br />

Header<br />

Sets the default encoding for fonts used within<br />

the document.<br />

• DLPDFDOC *Doc: Represents the document<br />

structure <strong>and</strong> the current status of the<br />

document at all times.<br />

• ASAtom Encoding: Valid values are<br />

ASAtoms containing<br />

“MacRomanEncoding”,<br />

“MacExpertEncoding” or<br />

“WinAnsiEncoding”. A NULL ASAtom, as<br />

returned by the ASAtomNull function, is<br />

also allowed, meaning “St<strong>and</strong>ard”<br />

encoding<br />

void<br />

genErrBadParam: Raised if any encoding<br />

value other than the values specified above (or a<br />

NULL document pointer) is passed to this function.<br />

dli.h<br />

Related Methods<br />

Availability<br />

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

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

Saved successfully!

Ooh no, something went wrong!