cete.dynamicpdf.pageelements.charting.series.serieslabel
SeriesLabel
- Namespace: ceTe.DynamicPDF.PageElements.Charting.Series
- Assemblies: DynamicPDF.CoreSuite.dll
Represents a SeriesLabel of the PieSeries.
public class SeriesLabel
Public Class SeriesLabel
Inheritance: Object → SeriesLabel
Constructors
SeriesLabel(String)
Initializes a new instance of the SeriesLabel class.
public SeriesLabel(string text)
Public Sub New (text As String)
Parameters
- text: String
Text to display in the series label.
SeriesLabel(String, Color, Font, Single)
Initializes a new instance of the SeriesLabel class.
public SeriesLabel(string text, Color textColor, Font font, float fontSize)
Public Sub New (text As String, textColor As Color, font As Font, fontSize As Single)
Parameters
- text: String
Text to display in the series label.
- textColor: Color
Color for the text of the series label.
- font: Font
Font for the text of the series label.
- fontSize: Single
Size for the text of the series label.
SeriesLabel(String, Color, Font, Single, SeriesNameDisplay)
Initializes a new instance of the SeriesLabel class.
public SeriesLabel(string text, Color textColor, Font font, float fontSize, SeriesNameDisplay seriesNameDisplay)
Public Sub New (text As String, textColor As Color, font As Font, fontSize As Single, seriesNameDisplay As SeriesNameDisplay)
Parameters
- text: String
Text to display in the series label.
- textColor: Color
Color for the text of the series label.
- font: Font
Font for the text of the series label.
- fontSize: Single
Size for the text of the series label.
- seriesNameDisplay: SeriesNameDisplay
SeriesNameDisplay enumeration indicating display position of series label.
SeriesLabel(String, Font, SeriesNameDisplay)
Initializes a new instance of the SeriesLabel class.
public SeriesLabel(string text, Font font, SeriesNameDisplay seriesNameDisplay)
Public Sub New (text As String, font As Font, seriesNameDisplay As SeriesNameDisplay)
Parameters
- text: String
Text to display in the series label.
- font: Font
Font for the text of the series label.
- seriesNameDisplay: SeriesNameDisplay
SeriesNameDisplay enumeration indicating display position of series label.
SeriesLabel(String, SeriesNameDisplay)
Initializes a new instance of the SeriesLabel class.
public SeriesLabel(string text, SeriesNameDisplay seriesNameDisplay)
Public Sub New (text As String, seriesNameDisplay As SeriesNameDisplay)
Parameters
- text: String
Text to display in the series label.
- seriesNameDisplay: SeriesNameDisplay
SeriesNameDisplay enumeration indicating display position of series label.
Properties
DisplayPosition
Gets or sets the SeriesNameDisplay enumeration that specifies the display position of the SeriesLabel.
public SeriesNameDisplay DisplayPosition { get; set; }
Public Property DisplayPosition As SeriesNameDisplay
Property Value
Font
Gets or sets the Font object to use for the text of the SeriesLabel.
public Font Font { get; set; }
Public Property Font As Font
Property Value
FontSize
Gets or sets the FontSize for the text of the SeriesLabel.
public float FontSize { get; set; }
Public Property FontSize As Single
Property Value
Text
Gets or sets the text of the SeriesLabel.
public string Text { get; set; }
Public Property Text As String
Property Value
TextColor
Gets or sets the Color object to use for the text of the SeriesLabel.
public Color TextColor { get; set; }
Public Property TextColor As Color
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .