Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.ChangeFont

This function changes or sets the font to the one of the parameter FontHandle.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.1 Yes Yes Yes Yes Yes

MBS( "DynaPDF.ChangeFont"; PDF; FontHandle )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
FontHandle Handle of the new font. $font

Result

Returns OK or error message.

Description

This function changes or sets the font to the one of the parameter FontHandle.
FontHandle must be a valid font handle that was returned by DynaPDF.SetFont, DynaPDF.SetFontEx, DynaPDF.SetCIDFont, or DynaPDF.LoadFont.
The font size is taken from the current font if any. If no font is active when the function is called, the font size will be set to the value that was used to load font the last time.

See also ChangeFont function in DynaPDF manual.

See also


DynaPDF.ChangeBookmark   -   DynaPDF.ChangeFontSize

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins