WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ITextEditor - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface ITextEditor

    Interface to text editing components.

    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Windows.dll
    Syntax
    public interface ITextEditor

    Properties

    Bold

    Gets or sets a value that indicates whether this Font is bolded in the Diagram control TextEditor.

    Declaration
    bool Bold { get; set; }
    Property Value
    Type Description
    System.Boolean

    CharOffset

    Gets or sets no of Characters to Offset

    Declaration
    int CharOffset { get; set; }
    Property Value
    Type Description
    System.Int32

    CurrentText

    Gets or sets the current text.

    Declaration
    string CurrentText { get; set; }
    Property Value
    Type Description
    System.String

    FontFamily

    Gets or sets to specify the font name for a text of text node in Diagram control.

    Declaration
    string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    HorizontalAlignment

    Specifies how an object or text in a control is horizontally aligned relative to an element of the control.

    Declaration
    StringAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    System.Drawing.StringAlignment

    Italic

    Gets or sets to indicate whether this font has the italic style to truly slanted and appear in Diagram control.

    Declaration
    bool Italic { get; set; }
    Property Value
    Type Description
    System.Boolean

    Lower

    Gets or sets a value indicating whether text is Lower.

    Declaration
    bool Lower { get; set; }
    Property Value
    Type Description
    System.Boolean

    PointSize

    Gets or sets size of font in points.

    Declaration
    float PointSize { get; set; }
    Property Value
    Type Description
    System.Single

    Strikeout

    Gets or sets a value that indicates whether this font specifies a horizontal line through the text in Diagram control.

    Declaration
    bool Strikeout { get; set; }
    Property Value
    Type Description
    System.Boolean

    Subscript

    Gets or sets a value that indicates whether a distinguishing character or symbol written directly beneath or next to and slightly below the text.

    Declaration
    bool Subscript { get; set; }
    Property Value
    Type Description
    System.Boolean

    Superscript

    Gets or sets a value indicating whether text is Superscript.

    Declaration
    bool Superscript { get; set; }
    Property Value
    Type Description
    System.Boolean

    TextColor

    Gets or sets a value that indicates to specify the color of the text in Diagram�s TextEditor.

    Declaration
    Color TextColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Underline

    Gets or sets a value that indicates whether to underline the text in Diagram�s TextEditor.

    Declaration
    bool Underline { get; set; }
    Property Value
    Type Description
    System.Boolean

    Upper

    Gets or sets a value indicating whether text is Upper.

    Declaration
    bool Upper { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    BeginEdit(Node)

    Starts editing node.

    Declaration
    bool BeginEdit(Node nodeEditing)
    Parameters
    Type Name Description
    Node nodeEditing

    node to edit

    Returns
    Type Description
    System.Boolean

    success operation value

    EndEdit(Boolean)

    Ends node editing.

    Declaration
    void EndEdit(bool bSaveChanges)
    Parameters
    Type Name Description
    System.Boolean bSaveChanges

    if set to true save changes.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved