TextObjectSetTextRise Method

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Sets the text rise. It specifies the distance to move the baseline up or down from its default location. Positive values of text rise move the baseline up.

Namespace:  Apitron.PDF.Kit.FixedLayout.Content
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public void SetTextRise(
	double rise
)

Parameters

rise
Type: SystemDouble
The rise distance to move the baseline up or down.
Remarks

Examples

C#
TextObject text = new TextObject(StandardFonts.CourierBold, 11);
text.AppendText("1st line");
text.AppendTextLine("2nd line");
text.SetTextRenderingMode(RenderingMode.FillAndStrokeText);
text.SetTextMatrix(1, 0, 0, 1, 10, (Boundaries.A4).Height - 60);
text.SetTextRise(2.333);
text.AppendText("First");
text.SetTextRise(-2.333);
text.AppendText("Second");
text.SetTextRise(3.333);
text.AppendText("Third");
text.SetTextRise(-3.333);
text.AppendText("Forth");
See Also

Reference