Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetFontSelMode
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
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Mode | The new mode. Can be FamilyName, PostScriptName or FullName. | "FamilyName" |
Result
Returns OK or error.
Description
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
- DynaPDF.GetFontSelMode
- DynaPDF.New
- DynaPDF.SetFont
- DynaPDF.SetFontEx
- DynaPDF.SetFontWeight
- DynaPDF.Table.SetFontSelMode
This function checks for a license.
Created 21st October 2014, last changed 23th October 2014