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

DynaPDF.SetTextRise

Sets the text rise.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 4.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetTextRise"; PDF; Value )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Value The Text rise in units. 10

Result

Returns OK or error.

Description

Sets the text rise.
Text rise specifies the distance, to move the baseline up or down from its default location. Positive values of text rise move the baseline up. Adjustments to the baseline are useful for drawing superscripts or subscripts. The default location of the baseline can be restored by setting the text rise to 0. The figure below illustrates the effect of the text rise. Text rise always applies to the vertical coordinate in text space.
The text moves around the baseline.
Default value = 0

See also DynaPDF.GetTextRise.

See also SetTextRise function in DynaPDF manual.

Examples

Set text rise:

MBS( "DynaPDF.SetTextRise"; $PDF; 10 )

See also

This function checks for a license.

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


DynaPDF.SetTextRect - DynaPDF.SetTextScaling