TextObjectAppendTextLine Method (Double, Double, String)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Appends the text on the next line and sets word and char spacings. 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(
	double wordSpacing,
	double charSpacing,
	string text
)

Parameters

wordSpacing
Type: SystemDouble
The word spacing.
charSpacing
Type: SystemDouble
The char spacing.
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(20, 3, "Text on the new line.");
document.Pages[0].Content.AppendText(text);
See Also

Reference