ZedGraph LogoZedGraph Class Library Documentation
TextObj Class
NamespacesZedGraphTextObj
A class that represents a text object on the graph. A list of GraphObj objects is maintained by the GraphObjList collection class.
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class TextObj _
	Inherits GraphObj _
	Implements ICloneable, ISerializable
[SerializableAttribute]
public ref class TextObj : public GraphObj, 
	ICloneable, ISerializable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
TextObjTextObjNew(String, Double, Double)
Constructor that sets all TextObj properties to default values as defined in the TextObj..::Default class.

TextObjTextObjNew(String, Double, Double, CoordType)
Constructor that sets all TextObj properties to default values as defined in the TextObj..::Default class.

TextObjTextObjNew(String, Double, Double, CoordType, AlignH, AlignV)
Constructor that sets all TextObj properties to default values as defined in the TextObj..::Default class.

TextObjTextObjNew()()
Parameterless constructor that initializes a new TextObj.

TextObjTextObjNew(TextObj)
The Copy Constructor

Clone()()
Typesafe, deep-copy clone method.

Draw(Graphics, PaneBase, Single)
Render this TextObj object to the specified Graphics device This method is normally only called by the Draw method of the parent GraphObjList collection object.
(Overrides GraphObj.Draw(Graphics, PaneBase, Single).)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FontSpec
Gets a reference to the FontSpec class used to render this TextObj

GetCoords(PaneBase, Graphics, Single, String%, String%)
Determines the shape type and Coords values for this GraphObj
(Overrides GraphObj.GetCoords(PaneBase, Graphics, Single, String%, String%).)
GetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo instance with the data needed to serialize the target object
(Overrides GraphObj.GetObjectData(SerializationInfo, StreamingContext).)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
IsClippedToChartRect
Gets or sets a value that determines whether or not the rendering of this GraphObj will be clipped to the Rect.
(Inherited from GraphObj.)
IsInFrontOfData
true if the ZOrder of this object is set to put it in front of the CurveItem data points.
(Inherited from GraphObj.)
IsVisible
Gets or sets a value that determines if this GraphObj will be visible in the graph. true displays the item, false hides it.
(Inherited from GraphObj.)
LayoutArea

Link
Gets or sets the hyperlink information for this GraphObj.
(Inherited from GraphObj.)
Location
The Location struct that describes the location for this GraphObj.
(Inherited from GraphObj.)
MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PointInBox(PointF, PaneBase, Graphics, Single)
Determine if the specified screen point lies inside the bounding box of this TextObj. This method takes into account rotation and alignment parameters of the text, as specified in the FontSpec.
(Overrides GraphObj.PointInBox(PointF, PaneBase, Graphics, Single).)
static memberschema2
Current schema value that defines the version of the serialized file

ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()

Tag
A tag object for use by the user. This can be used to store additional information associated with the GraphObj. ZedGraph does not use this value for any purpose.
(Inherited from GraphObj.)
Text
The TextObj to be displayed. This text can be multi-line by including newline ('\n') characters between the lines.

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
ZOrder
Gets or sets a value that determines the z-order "depth" of this item relative to other graphic objects.
(Inherited from GraphObj.)
Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621