TextObjectAppendTextLine Method (String)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Appends the text on the next line. Next line will be calculated using current text leading (SetTextLeading(Double)).

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 AppendTextLine(
	string text
)

Parameters

text
Type: SystemString
The text.
Examples

C#
FixedDocument document = new FixedDocument();
TextObject text = new TextObject("Helvetica", 14);
text.SetTextRenderingMode(RenderingMode.FillText);
text.SetTextLeading(20);

// Appends the new line text.
text.AppendTextLine("Text on the new line.");
document.Pages[0].Content.AppendText(text);
See Also

Reference