Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
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
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