Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


DynaPDF.SetTextRect - DynaPDF.SetTextScaling

Feedback: Report problem or ask question.