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

DynaPDF.ChangeFontStyleEx

The function changes the font style of a font like DynaPDF.ChangeFontStyle but it accepts also font styles like 2 (bold) or 1 (italic).

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.ChangeFontStyleEx"; PDF; Style )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Style The new font style. See DynaPDF.LoadFont for details. 3

Result

Returns OK or error message.

Description

The function changes the font style of a font like DynaPDF.ChangeFontStyle but it accepts also font styles like 2 (bold) or 1 (italic).
These flags can be used to explicitely enable the emulation of a missing font style.

See also ChangeFontStyleEx function in DynaPDF manual.

See also

This function checks for a license.

Created 18th August 2014, last changed 27th May 2017


DynaPDF.ChangeFontStyle - DynaPDF.ChangeJavaScript