menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextFormatInfo - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextFormatInfo

    Represents a class that helps to store the data about one format in strings.

    Inheritance
    System.Object
    TextFormatInfo
    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.Edit.Utils
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class TextFormatInfo

    Constructors

    TextFormatInfo(Format)

    Initializes a new instance of the TextFormatInfo class.

    Declaration
    public TextFormatInfo(Format format)
    Parameters
    Type Name Description
    Format format

    Format instance to extract data from.

    Fields

    BackColor

    Holds the background color of the text.

    Declaration
    public string BackColor
    Field Value
    Type
    System.String

    BackgroundStyle

    Holds the background style of the text.

    Declaration
    public string BackgroundStyle
    Field Value
    Type
    System.String

    BorderColor

    Holds the border color of the text.

    Declaration
    public string BorderColor
    Field Value
    Type
    System.String

    BorderStyle

    Holds the underline style of the text.

    Declaration
    public string BorderStyle
    Field Value
    Type
    System.String

    BorderWeightLoc

    Holds the border weight of the text.

    Declaration
    public string BorderWeightLoc
    Field Value
    Type
    System.String

    FontColor

    Holds the font color of the text.

    Declaration
    public string FontColor
    Field Value
    Type
    System.String

    FontName

    Holds the font name of the text.

    Declaration
    public string FontName
    Field Value
    Type
    System.String

    FontSize

    Holds the font size of the text.

    Declaration
    public string FontSize
    Field Value
    Type
    System.String

    FontStyleLoc

    Holds the font style of the text.

    Declaration
    public string FontStyleLoc
    Field Value
    Type
    System.String

    ForeColor

    Holds the fore color of the text.

    Declaration
    public string ForeColor
    Field Value
    Type
    System.String

    StrikeOutColor

    Holds the text strike out color of the text.

    Declaration
    public string StrikeOutColor
    Field Value
    Type
    System.String

    UnderlineColor

    Holds the underline color of the text.

    Declaration
    public string UnderlineColor
    Field Value
    Type
    System.String

    UnderlineStyleLoc

    Holds the underline style of the text.

    Declaration
    public string UnderlineStyleLoc
    Field Value
    Type
    System.String

    UnderlineWeightLoc

    Holds the underline weight of the text.

    Declaration
    public string UnderlineWeightLoc
    Field Value
    Type
    System.String

    Methods

    ApplyFormatInfo(Format)

    Applies info to specified format instance.

    Declaration
    public void ApplyFormatInfo(Format format)
    Parameters
    Type Name Description
    Format format

    Format instance to apply info to.

    ExtractFormatInfo(Format)

    Helps to extracts info about format.

    Declaration
    public void ExtractFormatInfo(Format format)
    Parameters
    Type Name Description
    Format format

    Format to extract info from.

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