Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • 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.dll
    Syntax
    public class SelectionParagraphFormatModule : Object

    Constructors

    SelectionParagraphFormatModule(BaseComponent)

    Default constructor for SelectionParagraphFormatModule.

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

    GetAfterSpacing()

    Sets the after spacing for selected paragraphs.

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

    GetBeforeSpacing()

    Gets or Sets the before spacing for selected paragraphs.

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

    GetBidi()

    Gets or Sets the bidirectional property for selected paragraphs

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

    GetContextualSpacing()

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

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

    GetFirstLineIndent()

    Gets or Sets the first line indent for selected paragraphs.

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

    GetLeftIndent()

    Gets or Sets the left indent for selected paragraphs.

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

    GetLineSpacing()

    Gets or Sets the line spacing for selected paragraphs.

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

    GetLineSpacingType()

    Gets or Sets the line spacing type for selected paragraphs.

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

    GetListLevelNumber()

    Sets the list level number for selected paragraphs.

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

    GetListText()

    Gets the list text for selected paragraphs.

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

    GetRightIndent()

    Gets or Sets the right indent for selected paragraphs.

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

    GetTextAlignment()

    Gets or Sets the text alignment for selected paragraphs.

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

    SetAfterSpacing(Int32)

    Gets or Sets the after spacing for selected paragraphs.

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

    SetBeforeSpacing(Int32)

    Sets the before spacing for selected paragraphs.

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

    SetBidi(Boolean)

    Sets the bidirectional property for selected paragraphs

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

    SetContextualSpacing(Boolean)

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

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

    SetFirstLineIndent(Int32)

    Sets the first line indent for selected paragraphs.

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

    SetLeftIndent(Int32)

    Sets the left indent for selected paragraphs.

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

    SetLineSpacing(Int32)

    Sets the line spacing for selected paragraphs.

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

    SetLineSpacingType(LineSpacingType)

    Gets or Sets the line spacing type for selected paragraphs.

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

    SetListLevelNumber(Int32)

    Gets or Sets the list level number for selected paragraphs.

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

    SetRightIndent(Int32)

    Sets the right indent for selected paragraphs.

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

    SetTextAlignment(TextAlignment)

    Sets the text alignment for selected paragraphs.

    Declaration
    public void SetTextAlignment(TextAlignment value)
    Parameters
    Type Name Description
    TextAlignment value
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved