Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.GetTextRise
Queries the current text rise used to output text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetTextRise"; PDF ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. |
Result
Returns rise value or error.
Description
Queries the current text rise used to output text.Text rise specifies the distance, in unscaled text space units, 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. See also DynaPDF.SetTextRise.
The text moves around the baseline.
Default value = 0
See also DynaPDF.SetTextRise.
See also GetTextRise function in DynaPDF manual.
Examples
Queries text rise:
MBS( "DynaPDF.GetTextRise"; $PDF )
See also
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
