Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.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 )

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


DynaPDF.SetTextRect   -   DynaPDF.SetTextScaling

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins