CompressFonts

Fonts, Document properties

Description

Specifies whether or not to compress TrueType, Packaged and Type1 fonts subsequently added to the document.

Syntax

Delphi

function TPDFlib.CompressFonts(Compress: Integer): Integer;

ActiveX

Function PDFlib::CompressFonts(Compress As Long) As Long

DLL

int DLCompressFonts(int InstanceID, int Compress);

Parameters

Compress0 = Don't compress fonts 1 = Compress all subsequently added fonts

Return values

0The Compress parameter was out of range
1The font compression setting was changed successfully