TextProperties
Base text appearance settings class (Font, Color)
Definition
Namespace:Telerik.Reporting.Charting.Styles
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TextProperties : StateManagedObject, IChartingStateManagedItem, IChartingStateManager
Inheritance: objectStateManagedObjectTextProperties
Derived Classes:
Implements:
Inherited Members
Constructors
Creates a new class instance
public TextProperties()
Creates a new class instance
public TextProperties(Color color, Font font)
Text color
fontFontText font
Creates a new class instance
public TextProperties(Color color, string familyName, float emSize, FontStyle fontStyle, GraphicsUnit grUnit)
Text color
familyNamestringFont family
emSizefloatFont size in EM
fontStyleFontStyleFont style
grUnitGraphicsUnitGraphics measurement unit
Creates a new class instance
public TextProperties(Color color)
Text color
Properties
Color
Color
Specifies the text color property
[TypeConverter(typeof(ColorConverter))]
[SkinnableProperty]
public virtual Color Color { get; set; }
Font
Font
Specifies the text font properties
[TypeConverter(typeof(FontConverter))]
[SkinnableProperty]
public virtual Font Font { get; set; }
Methods
Clone()
object
Creates an object clone
public object Clone()
object
object
Equals(object)
bool
Determines whether the specified System.Object is equal to the current System.Object.
public override bool Equals(object obj)
The System.Object to compare with the current System.Object
Returns:bool
true if the specified System.Object is equal to the current System.Object; otherwise, false.
Overrides:
Serves as a hash function for a TextProperties type.
public override int GetHashCode()
int
A hash code for the current class instance
Overrides: