Class SelectionCharacterFormatModule
Represents the selection character format module in DocumentEditor.
Inheritance
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class SelectionCharacterFormatModule : Object
Constructors
SelectionCharacterFormatModule(BaseComponent)
Default constructor for SelectionCharacterFormat.
Declaration
public SelectionCharacterFormatModule(BaseComponent baseComponent)
Parameters
Type | Name | Description |
---|---|---|
BaseComponent | baseComponent | An DocumentEdiorComponent instance. |
Properties
DocumentEditorComponent
DocumentEdiorComponent instance.
Declaration
protected BaseComponent DocumentEditorComponent { get; set; }
Property Value
Type | Description |
---|---|
BaseComponent |
Methods
GetBaselineAlignment()
Gets or sets the baseline alignment property of selected contents.
Declaration
public Task<BaselineAlignment> GetBaselineAlignment()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<BaselineAlignment> |
GetBold()
Gets or sets the bold formatting of selected contents.
Declaration
public Task<bool> GetBold()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
GetFontColor()
Gets or sets the font color of selected contents.
Declaration
public Task<string> GetFontColor()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |
GetFontFamily()
Gets or sets the font family of selected contents.
Declaration
public Task<string> GetFontFamily()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |
GetFontSize()
Gets the font size of selected contents.
Declaration
public Task<int> GetFontSize()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> |
GetHighlightColor()
Gets or sets the highlight color of selected contents.
Declaration
public Task<HighlightColor> GetHighlightColor()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<HighlightColor> |
GetItalic()
Gets or sets the italic formatting of selected contents.
Declaration
public Task<bool> GetItalic()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
GetStrikethrough()
Gets or sets the strikethrough property of selected contents.
Declaration
public Task<Strikethrough> GetStrikethrough()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Strikethrough> |
GetUnderline()
Gets or sets the underline style of selected contents.
Declaration
public Task<Underline> GetUnderline()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Underline> |
SetBaselineAlignment(BaselineAlignment)
Sets the baseline alignment property of selected contents.
Declaration
public void SetBaselineAlignment(BaselineAlignment value)
Parameters
Type | Name | Description |
---|---|---|
BaselineAlignment | value |
SetBold(Boolean)
Sets the bold formatting of selected contents.
Declaration
public void SetBold(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
SetFontColor(String)
Sets the font color of selected contents.
Declaration
public void SetFontColor(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
SetFontFamily(String)
Sets the font family of selected contents.
Declaration
public void SetFontFamily(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
SetFontSize(Int32)
Sets the font size of selected contents.
Declaration
public void SetFontSize(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value |
SetHighlightColor(HighlightColor)
Sets the highlight color of selected contents.
Declaration
public void SetHighlightColor(HighlightColor value)
Parameters
Type | Name | Description |
---|---|---|
HighlightColor | value |
SetItalic(Boolean)
Sets the italic formatting of selected contents.
Declaration
public void SetItalic(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
SetStrikethrough(Strikethrough)
Sets the strikethrough property of selected contents.
Declaration
public void SetStrikethrough(Strikethrough value)
Parameters
Type | Name | Description |
---|---|---|
Strikethrough | value |
SetUnderline(Underline)
Sets the underline style of selected contents.
Declaration
public void SetUnderline(Underline value)
Parameters
Type | Name | Description |
---|---|---|
Underline | value |