Constructs a Text object from a string with specified alignment.

Namespace: Imsl.Chart2D
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public Text(
	string text,
	int alignment
)
Visual Basic (Declaration)
Public Sub New ( _
	text As String, _
	alignment As Integer _
)
Visual C++
public:
Text(
	String^ text, 
	int alignment
)

Parameters

text
Type: System..::.String
The String that is to be converted to a Text object.
alignment
Type: System..::.Int32
An int which specifies the alignment.

Remarks

The alignment determines the position of the reference point on the horizontally aligned box containing the drawn text. It is the bitwise combination of the following:

See Also