TextBlock Constructor (String)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the TextBlock class.

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

public TextBlock(
	string text
)

Parameters

text
Type: SystemString
The text.
Remarks

Examples

C#
FlowDocument document = new FlowDocument();
document.Add(new TextBlock("Hello world!"));
See Also

Reference