BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

FontEmbedAsType0 Property

Gets/Sets the flag that indicates whether to embed TrueType fonts as Type 0 font.

Type

Boolean

Remarks

This option is recommended if you have non-standard fonts like barcode font.

Note: Non-Roman fonts are always embedded as Type 0 font regardless of this option.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PrintJob
Set oPDFSetting = oPrintJob.PDFSetting

oPDFSetting.FontEmbedAsType0 = True
oPDFSetting.FontEmbedding = PRN_FONT_EMBED_SUBSET

oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"