Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Changes or sets the font to the one of the parameter Handle.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
FontHandle | Handle of the new font. | $font |
FontSize | The new font size. | 12 |
Style | Font style value. Can be a combination of values 1 for italic, 2 for bold, 4 for underlined and 8 for striked. |
3 |
Returns OK or error.
See also ChangeFontEx function in DynaPDF manual.
This function checks for a license.
Created 14th April 2021, last changed 14th April 2021