Class TextElement
Implements the "text" element of SVG DOM.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class TextElement : SuperElement, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute
Constructors
TextElement()
Initializes a new instance of the TextElement class.
Declaration
public TextElement()
Properties
DX
Gets or sets the DX.
Declaration
public Length DX { get; set; }
Property Value
Type | Description |
---|---|
Length | The DX. |
DY
Gets or sets the DY.
Declaration
public Length DY { get; set; }
Property Value
Type | Description |
---|---|
Length | The DY. |
LengthAdjust
Gets or sets the length adjust.
Declaration
public ELengthAdjust LengthAdjust { get; set; }
Property Value
Type | Description |
---|---|
ELengthAdjust | The length adjust. |
Rotate
Gets or sets the angle of rotatation.
Declaration
public Number Rotate { get; set; }
Property Value
Type | Description |
---|---|
Number | The angle. |
TextLength
Gets or sets the length of the text.
Declaration
public Length TextLength { get; set; }
Property Value
Type | Description |
---|---|
Length | The length of the text. |
X
Gets or sets the X coordinate of text.
Declaration
public Length X { get; set; }
Property Value
Type | Description |
---|---|
Length | The X coordinate . |
Y
Gets or sets the Y coordinate of text.
Declaration
public Length Y { get; set; }
Property Value
Type | Description |
---|---|
Length | The Y coordinate. |
Methods
DrawSelf(Graphics)
Draws the element to specified System.Drawing.Graphics.
Declaration
protected override void DrawSelf(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics. |