Create a text shape with given properties.

Namespace: TallComponents.PDF.Layout.Shapes
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public TextShape(
	double x,
	double y,
	string text,
	Font font,
	double fontSize,
	Color textColor
)
Visual Basic
Public Sub New ( _
	x As Double, _
	y As Double, _
	text As String, _
	font As Font, _
	fontSize As Double, _
	textColor As Color _
)

Parameters

x
Type: System..::..Double
Horizontal position of left edge.
y
Type: System..::..Double
Vertical position of bottom edge.
text
Type: System..::..String
Content.
font
Type: TallComponents.PDF.Layout.Fonts..::..Font
Font.
fontSize
Type: System..::..Double
Size of the font in points.
textColor
Type: TallComponents.PDF.Layout.Colors..::..Color
Forecolor of the text.

See Also