ZedGraph LogoZedGraph Class Library Documentation
TextObj Constructor (text, x, y, coordType, alignH, alignV)
NamespacesZedGraphTextObjTextObjTextObjNew(String, Double, Double, CoordType, AlignH, AlignV)
Constructor that sets all TextObj properties to default values as defined in the TextObj..::Default class.
Declaration Syntax
C#Visual BasicVisual C++
public TextObj(
	string text,
	double x,
	double y,
	CoordType coordType,
	AlignH alignH,
	AlignV alignV
)
Public Sub New ( _
	text As String, _
	x As Double, _
	y As Double, _
	coordType As CoordType, _
	alignH As AlignH, _
	alignV As AlignV _
)
public:
TextObj (
	String^ text, 
	double x, 
	double y, 
	CoordType coordType, 
	AlignH alignH, 
	AlignV alignV
)
Parameters
text (String)
The text to be displayed.
x (Double)
The x position of the text. The units of this position are specified by the CoordinateFrame property. The text will be aligned to this position based on the AlignH property.
y (Double)
The y position of the text. The units of this position are specified by the CoordinateFrame property. The text will be aligned to this position based on the AlignV property.
coordType (CoordType)
The CoordType enum value that indicates what type of coordinate system the x and y parameters are referenced to.
alignH (AlignH)
The AlignH enum that specifies the horizontal alignment of the object with respect to the (x,y) location
alignV (AlignV)
The AlignV enum that specifies the vertical alignment of the object with respect to the (x,y) location

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621