menu

Blazor

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

    Show / Hide Table of Contents

    Class SelectionCharacterFormatModule

    Represents the selection character format module in DocumentEditor.

    Inheritance
    System.Object
    SelectionCharacterFormatModule
    Namespace: Syncfusion.Blazor.DocumentEditor
    Assembly: Syncfusion.Blazor.DocumentEditor.dll
    Syntax
    public class SelectionCharacterFormatModule : Object

    Constructors

    SelectionCharacterFormatModule(SfDocumentEditor)

    Initializes a new instance of the SelectionCharacterFormatModule class. Default constructor for SelectionCharacterFormat.

    Declaration
    public SelectionCharacterFormatModule(SfDocumentEditor baseComponent)
    Parameters
    Type Name Description
    SfDocumentEditor baseComponent

    An DocumentEdiorComponent instance.

    Properties

    DocumentEditor

    DocumentEdiorComponent instance.

    Declaration
    protected SfDocumentEditor DocumentEditor { get; set; }
    Property Value
    Type
    SfDocumentEditor

    Methods

    GetBaselineAlignmentAsync()

    Gets or sets the baseline alignment property of selected contents.

    Declaration
    public Task<BaselineAlignment> GetBaselineAlignmentAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<BaselineAlignment>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetBoldAsync()

    Gets or sets the bold formatting of selected contents.

    Declaration
    public Task<bool> GetBoldAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetFontColorAsync()

    Gets or sets the font color of selected contents.

    Declaration
    public Task<string> GetFontColorAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetFontFamilyAsync()

    Gets or sets the font family of selected contents.

    Declaration
    public Task<string> GetFontFamilyAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetFontSizeAsync()

    Gets the font size of selected contents.

    Declaration
    public Task<int> GetFontSizeAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetHighlightColorAsync()

    Gets or sets the highlight color of selected contents.

    Declaration
    public Task<HighlightColor> GetHighlightColorAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<HighlightColor>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetItalicAsync()

    Gets or sets the italic formatting of selected contents.

    Declaration
    public Task<bool> GetItalicAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetStrikethroughAsync()

    Gets or sets the strikethrough property of selected contents.

    Declaration
    public Task<Strikethrough> GetStrikethroughAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<Strikethrough>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    GetUnderlineAsync()

    Gets or sets the underline style of selected contents.

    Declaration
    public Task<Underline> GetUnderlineAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<Underline>

    A System.Threading.Tasks.Task representing the asynchronous operation.

    SetBaselineAlignmentAsync(BaselineAlignment)

    Sets the baseline alignment property of selected contents.

    Declaration
    public void SetBaselineAlignmentAsync(BaselineAlignment value)
    Parameters
    Type Name Description
    BaselineAlignment value

    Specifies the baseline alignment.

    SetBoldAsync(Boolean)

    Sets the bold formatting of selected contents.

    Declaration
    public void SetBoldAsync(bool value)
    Parameters
    Type Name Description
    System.Boolean value

    Specifies the bold format.

    SetFontColorAsync(String)

    Sets the font color of selected contents.

    Declaration
    public void SetFontColorAsync(string value)
    Parameters
    Type Name Description
    System.String value

    Specifies the font color.

    SetFontFamilyAsync(String)

    Sets the font family of selected contents.

    Declaration
    public void SetFontFamilyAsync(string value)
    Parameters
    Type Name Description
    System.String value

    Specifies the font family.

    SetFontSizeAsync(Int32)

    Sets the font size of selected contents.

    Declaration
    public void SetFontSizeAsync(int value)
    Parameters
    Type Name Description
    System.Int32 value

    Specifies the font size.

    SetHighlightColorAsync(HighlightColor)

    Sets the highlight color of selected contents.

    Declaration
    public void SetHighlightColorAsync(HighlightColor value)
    Parameters
    Type Name Description
    HighlightColor value

    Specifies the highlight color.

    SetItalicAsync(Boolean)

    Sets the italic formatting of selected contents.

    Declaration
    public void SetItalicAsync(bool value)
    Parameters
    Type Name Description
    System.Boolean value

    Specifies the italic format.

    SetStrikethroughAsync(Strikethrough)

    Sets the strikethrough property of selected contents.

    Declaration
    public void SetStrikethroughAsync(Strikethrough value)
    Parameters
    Type Name Description
    Strikethrough value

    Specifies the strikethrough.

    SetUnderlineAsync(Underline)

    Sets the underline style of selected contents.

    Declaration
    public void SetUnderlineAsync(Underline value)
    Parameters
    Type Name Description
    Underline value

    Specifies the underline format.

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