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

DynaPDF.ChangeFontStyle

This function changes the style of the current font.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.ChangeFontStyle"; 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. 8

Result

Returns OK or error message.

Description

This function changes the style of the current font.
Only the style flags Underlined (4) and Striked (8) can be set with this function. The font styles fsBold and fsItalic requires another font file that must be selected with DynaPDF.SetFont.

See also ChangeFontStyle function in DynaPDF manual.

See also

Example Databases

This function checks for a license.

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


DynaPDF.ChangeFontSize - DynaPDF.ChangeFontStyleEx