WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextElement

    Show / Hide Table of Contents

    Class TextElement

    TextElement class.

    Inheritance
    System.Object
    Element
    SuperElement
    TextElement
    Implements
    IElement
    IStrokeAttributes
    IFillAttributes
    ITransformAttribute
    IStyleAttribute
    IFontAttributes
    IViewBoxAttribute
    IOpacityAttribute
    IClipingAttribute
    Inherited Members
    SuperElement.Draw(Graphics)
    SuperElement.SetXmlAttribute(XmlAttribute)
    SuperElement.PushGraphics(Graphics)
    SuperElement.PopGraphics(Graphics)
    SuperElement.PrepeareDraw(Graphics)
    SuperElement.IStrokeAttributes.Stroke
    SuperElement.IStrokeAttributes.StrokeWidth
    SuperElement.IStrokeAttributes.StrokeLinecap
    SuperElement.IStrokeAttributes.StrokeLinejoin
    SuperElement.IStrokeAttributes.StrokeMiterlimit
    SuperElement.IStrokeAttributes.StrokeDasharray
    SuperElement.IStrokeAttributes.StrokeDashoffset
    SuperElement.IStrokeAttributes.StrokeOpacity
    SuperElement.IFillAttributes.Fill
    SuperElement.IFillAttributes.FillOpacity
    SuperElement.ITransformAttribute.Transform
    SuperElement.Style
    SuperElement.IFontAttributes.FontFamily
    SuperElement.IFontAttributes.FontStyle
    SuperElement.IFontAttributes.FontVariant
    SuperElement.IFontAttributes.FontWeight
    SuperElement.IFontAttributes.FontStretch
    SuperElement.IFontAttributes.FontSize
    SuperElement.IFontAttributes.FontSizeAdjust
    SuperElement.IFontAttributes.Font
    SuperElement.IViewBoxAttribute.ViewBox
    SuperElement.IOpacityAttribute.Opacity
    SuperElement.IClipingAttribute.ClipRule
    SuperElement.IClipingAttribute.ClipPath
    Element.m_name
    Element.m_text
    Element.m_parent
    Element.m_children
    Element.m_attributes
    Element.m_document
    Element.AddChild(Element)
    Element.GetAttribute(Object, Object)
    Element.SetAttribute(Object, Object, Object)
    Element.CanAddChild(Element)
    Element.Name
    Element.Children
    Element.Attributes
    Element.Parent
    Element.Id
    Element.OwnerDocument
    Element.Text
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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.

    Overrides
    SuperElement.DrawSelf(Graphics)

    Implements

    IElement
    IStrokeAttributes
    IFillAttributes
    ITransformAttribute
    IStyleAttribute
    IFontAttributes
    IViewBoxAttribute
    IOpacityAttribute
    IClipingAttribute
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved