menu

Blazor

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

    Show / Hide Table of Contents

    Class SelectionParagraphFormatModule

    Represents the selection paragraph format module in DocumentEditor.

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

    Constructors

    SelectionParagraphFormatModule(SfDocumentEditor)

    Initializes a new instance of the SelectionParagraphFormatModule class. Default constructor for SelectionParagraphFormatModule.

    Declaration
    public SelectionParagraphFormatModule(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

    GetAfterSpacingAsync()

    Sets the after spacing for selected paragraphs.

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

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

    GetBeforeSpacingAsync()

    Gets or Sets the before spacing for selected paragraphs.

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

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

    GetBidiAsync()

    Gets or Sets the bidirectional property for selected paragraphs.

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

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

    GetContextualSpacingAsync()

    Gets or sets a value indicating whether to add space between the paragraphs of same style.

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

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

    GetFirstLineIndentAsync()

    Gets or Sets the first line indent for selected paragraphs.

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

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

    GetLeftIndentAsync()

    Gets or Sets the left indent for selected paragraphs.

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

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

    GetLineSpacingAsync()

    Gets or Sets the line spacing for selected paragraphs.

    Declaration
    public Task<double> GetLineSpacingAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Double>

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

    GetLineSpacingTypeAsync()

    Gets or Sets the line spacing type for selected paragraphs.

    Declaration
    public Task<LineSpacingType> GetLineSpacingTypeAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<LineSpacingType>

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

    GetListLevelNumberAsync()

    Sets the list level number for selected paragraphs.

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

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

    GetListTextAsync()

    Gets the list text for selected paragraphs.

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

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

    GetOutlineLevelAsync()

    Gets the outline level for selected paragraphs.

    Declaration
    public Task<OutlineLevel> GetOutlineLevelAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<OutlineLevel>

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

    GetRightIndentAsync()

    Gets or Sets the right indent for selected paragraphs.

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

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

    GetTextAlignmentAsync()

    Gets or Sets the text alignment for selected paragraphs.

    Declaration
    public Task<TextAlignment> GetTextAlignmentAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<TextAlignment>

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

    SetAfterSpacingAsync(Int32)

    Gets or Sets the after spacing for selected paragraphs.

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

    Specifies the after spacing.

    SetBeforeSpacingAsync(Int32)

    Sets the before spacing for selected paragraphs.

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

    Specifies the before spacing.

    SetBidiAsync(Boolean)

    Sets the bidirectional property for selected paragraphs.

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

    Specifies the bidi.

    SetContextualSpacingAsync(Boolean)

    Sets a value indicating whether to add space between the paragraphs of same style.

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

    Specifies the contextual spacing.

    SetFirstLineIndentAsync(Int32)

    Sets the first line indent for selected paragraphs.

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

    Specifies the first line indent.

    SetLeftIndentAsync(Int32)

    Sets the left indent for selected paragraphs.

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

    Specifies the left indent.

    SetLineSpacingAsync(Double)

    Sets the line spacing for selected paragraphs.

    Declaration
    public void SetLineSpacingAsync(double value)
    Parameters
    Type Name Description
    System.Double value

    Specifies the line spacing.

    SetLineSpacingTypeAsync(LineSpacingType)

    Gets or Sets the line spacing type for selected paragraphs.

    Declaration
    public void SetLineSpacingTypeAsync(LineSpacingType value)
    Parameters
    Type Name Description
    LineSpacingType value

    Specifies the line spacing type.

    SetListLevelNumberAsync(Int32)

    Gets or Sets the list level number for selected paragraphs.

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

    Specifies the list level number.

    SetOutlineLevelAsync(OutlineLevel)

    Sets the outline level for selected paragraphs.

    Declaration
    public void SetOutlineLevelAsync(OutlineLevel value)
    Parameters
    Type Name Description
    OutlineLevel value

    Specifies the outline level.

    SetRightIndentAsync(Int32)

    Sets the right indent for selected paragraphs.

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

    Specifies the right indent.

    SetTextAlignmentAsync(TextAlignment)

    Sets the text alignment for selected paragraphs.

    Declaration
    public void SetTextAlignmentAsync(TextAlignment value)
    Parameters
    Type Name Description
    TextAlignment value

    Specifies the text alignement.

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