IMSL C# Numerical Library

Text Constructor (String, Int32)

Constructs a Text object from a string with specified alignment.

public Text(
   string text,
   int alignment
);

Parameters

text
The String that is to be converted to a Text object.
alignment
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

Text Class | Imsl.Chart2D Namespace | Text Constructor Overload List