Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets scaling for text.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.2 Yes Yes Yes Yes Yes
MBS( "DynaPDF.SetTextScaling"; PDF; Value )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Value The Horizontal text scaling. 100


Returns OK or error.


Sets scaling for text.
The scaling value adjusts the width of glyphs by stretching or compressing them in the horizontal direction. Its value is specified as a percentage of the normal width of the glyphs, with 100 being the normal width.
Default value = 100

See also DynaPDF.GetTextScaling.

See also SetTextScaling function in DynaPDF manual.


Set scaling to 200%

MBS( "DynaPDF.SetTextScaling"; $PDF; 200 )

See also

Created 18th August 2014, last changed 18th August 2014

DynaPDF.SetTextRise   -   DynaPDF.SetTransparentColor

Feedback: Report problem or ask question.

MBS Xojo Plugins