Initializes a new instance of the TextItem class with the specified location, size and text.

Namespace: Neodynamic.SDK.Printing
Assembly: Neodynamic.SDK.ThermalLabel (in Neodynamic.SDK.ThermalLabel.dll) Version: 5.0.3500.0 (5.0.3500.4)

Syntax

C#
public TextItem(
	double x,
	double y,
	double width,
	double height,
	string text
)
Visual Basic
Public Sub New ( _
	x As Double, _
	y As Double, _
	width As Double, _
	height As Double, _
	text As String _
)
Visual C++
public:
TextItem(
	double x, 
	double y, 
	double width, 
	double height, 
	String^ text
)

Parameters

x
Type: System..::..Double
The x-coordinate of the upper-left corner of the item relative to the upper-left corner of its container.
y
Type: System..::..Double
The y-coordinate of the upper-left corner of the item relative to the upper-left corner of its container.
width
Type: System..::..Double
The width of the item container.
height
Type: System..::..Double
The height of the item container.
text
Type: System..::..String
The text.

See Also