Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / ChartText Class
Members


In This Topic
    ChartText Class
    In This Topic
    Most of the objects in the chart have associated texts. The ChartText object allows you to modify various aspects of the text appearance including the text font, orientation, horizontal and vertical align relative to the text origin point, the offset from the origin point, the backplane of the text and whether or not the text should use the same Z order value as the object it is attached to.
    Object Model
    ChartText Class
    Syntax
    'Declaration
     
    <ClassInterfaceAttribute(ClassInterfaceType.AutoDual)>
    <EditorAttribute(Xceed.Chart.Utilities.ObjectEditor, System.Drawing.Design.UITypeEditor)>
    <SerializableAttribute()>
    Public Class ChartText 
       Inherits Xceed.Chart.GraphicsCore.TextBase
    'Usage
     
    Dim instance As ChartText
    [ClassInterface(ClassInterfaceType.AutoDual)]
    [Editor(Xceed.Chart.Utilities.ObjectEditor, System.Drawing.Design.UITypeEditor)]
    [Serializable()]
    public class ChartText : Xceed.Chart.GraphicsCore.TextBase 
    Inheritance Hierarchy

    System.Object
       Xceed.Chart.GraphicsCore.TextBase
          Xceed.Chart.Standard.ChartText

    Public Constructors
     NameDescription
    Public ConstructorCreates a new ChartText object with default settings.  
    Top
    Public Properties
     NameDescription
    Public PropertyGives you access to the Backplane object of the text.  
    Public PropertyControls the border applied on the text.  
    Public PropertyControls the fill effect applied on the text.  
    Public PropertyControls the font of the text.  
    Public PropertyThe horizontal alignment of the texts relative the text origin point.  
    Public PropertyControls the offset of the text origin point from the text base point.  
    Public PropertyControls the orientation of the 2D texts in degrees.  
    Public PropertyWhether or not the chart should replace tab characters with spaces.  
    Public PropertyThe shadow applied on this text.  
    Public PropertyThe StringFormat used to measure and draw the text  
    Public PropertyThe number of spaces that replace a single tab if ReplaceTabsWithSpaces is set to true.  
    Public PropertyControls whether or not the text should use the Z position of the base point.  
    Public PropertyControls how the control should parse the texts displayed by this ChartText object.  
    Public PropertyThe vertical alignment of the texts relative the text origin point.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates an identical copy of this this object. (Inherited from Xceed.Chart.GraphicsCore.TextBase)
    Public MethodInitializes a text properties object from the properties of another text properties object  
    Public MethodOverloaded. Shows a text properties dialog allowing you to visually edit the text properties.  
    Top
    Protected Methods
     NameDescription
    Protected MethodThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected MethodThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected MethodThis member is reserved for internal use and is not intended to be used directly from your code.  
    Protected MethodThis member is reserved for internal use and is not intended to be used directly from your code.  
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also