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.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

DynaPDF.SetTextRise

Sets the text rise.

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

Parameters

Parameter Description Example value
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.




Links
MBS Xojo Plugins