SetPdfDefEmbeddedFont

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetPdfDefEmbeddedFont (BlackIceDEVMODE* pDevMode, BOOL bEnable);

Description

Specifies whether to embed the fonts in the printed PDF document by default.

Parameters

BlackIceDEVMODE* pDevMode            - pointer to the BlackIceDEVMODE structure.

BOOL bEnable                                            - Value to embed the fonts in the PDF. If this value is TRUE, all fonts will be embedded by   default.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

SetPdfDefEmbeddedFont (DevMode, TRUE);

SetPdfEmbedLicensedFonts (DevMode, false);

SetPdfEmbedAdobeFonts (DevMode, false);

SetPdfEmbedWindowsFonts (DevMode, false);

SetPdfCreateSubset (DevMode, false);

SetPdfForceEmbedFontCount (DevMode, 1);

SetPdfForceEmbedFont (DevMode, "myfontname", 0);