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.

bool FontEmbedAsType0 { get; set; }

Property FontEmbedAsType0 As Boolean

def getFontEmbedAsType0(self)
def setFontEmbedAsType0(self, value)
boolean getFontEmbedAsType0() throws PrinterException
void setFontEmbedAsType0(boolean value) throws PrinterException
function getFontEmbedAsType0() 
function setFontEmbedAsType0($value) 
BclPrnResult GetFontEmbedAsType0(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetFontEmbedAsType0(BclPrinter* pPrinter, BclBool newVal);
Property FontEmbedAsType0 As Boolean

bepprint -type0 [on|off]

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"