Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Changes the font selection mode.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetFontSelMode"; PDF; Mode )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Mode The new mode. Can be FamilyName, PostScriptName or FullName. "FamilyName"


Returns OK or error.


Changes the font selection mode.
Note that the font names that will be passed to DynaPDF.SetFont must correspond with the current font selection mode. If you don't know which font name you have in memory then use DynaPDF.SetFontEx to select fonts. The font selection mode can be changed at runtime whenever necessary.

See also SetFontSelMode function in DynaPDF manual.

See also

This function checks for a license.

Created 21st October 2014, last changed 23th October 2014

DynaPDF.SetFontSearchOrder - DynaPDF.SetFontWeight