Class TextElement
TextElement class.
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.SVG.IO
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public 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 length.
Declaration
public Length DX { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
DY
Gets or sets the DY length.
Declaration
public Length DY { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
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 rotate.
Declaration
public Number Rotate { get; set; }
Property Value
Type | Description |
---|---|
Number | The rotate. |
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 length.
Declaration
public Length X { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
Y
Gets or sets the length.
Declaration
public Length Y { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
Methods
DrawSelf(Graphics)
Draws self.
Declaration
protected override void DrawSelf(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics. |