menu

WinForms

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

    Show / Hide Table of Contents

    Class ParagraphStyle

    Summary description for ParagraphStyle.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    Style
    ParagraphStyle
    Implements
    IEntityBase
    IXDLSSerializable
    IParagraphStyle
    IStyle
    Inherited Members
    EntityBase.Document
    EntityBase.DocumentEx
    EntityBase.Owner
    EntityBase.SetOwner(IEntityBase)
    Style.m_baseStyle
    Style.m_baseStyleName
    Style.Name
    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()
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.m_id
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class ParagraphStyle : Style, IEntityBase, IXDLSSerializable, IParagraphStyle, IStyle

    Constructors

    ParagraphStyle(IDocument)

    Initializing constructor

    Declaration
    public ParagraphStyle(IDocument doc)
    Parameters
    Type Name Description
    IDocument doc

    ParagraphStyle(IParagraphStyle, IDocument)

    Declaration
    protected ParagraphStyle(IParagraphStyle style, IDocument doc)
    Parameters
    Type Name Description
    IParagraphStyle style
    IDocument doc

    Fields

    m_charFormat

    The character format object

    Declaration
    protected CharacterFormat m_charFormat
    Field Value
    Type
    CharacterFormat

    m_paraFormat

    The paragraph format object

    Declaration
    protected ParagraphFormat m_paraFormat
    Field Value
    Type
    ParagraphFormat

    Properties

    BaseStyle

    Gets base style

    Declaration
    public ParagraphStyle BaseStyle { get; }
    Property Value
    Type
    ParagraphStyle

    CharacterFormat

    Gets character format (font properties).

    Declaration
    public CharacterFormat CharacterFormat { get; }
    Property Value
    Type
    CharacterFormat

    ParagraphFormat

    Get paragraph format.

    Declaration
    public ParagraphFormat ParagraphFormat { get; }
    Property Value
    Type
    ParagraphFormat

    Methods

    ApplyBaseStyle(String)

    Apply base style for current style

    Declaration
    public ParagraphStyle ApplyBaseStyle(string styleName)
    Parameters
    Type Name Description
    System.String styleName
    Returns
    Type
    ParagraphStyle

    Clone(IDocument)

    Declaration
    public override IStyle Clone(IDocument document)
    Parameters
    Type Name Description
    IDocument document
    Returns
    Type
    IStyle
    Overrides
    Style.Clone(IDocument)

    CloneImpl(IDocument)

    Declaration
    protected virtual IParagraphStyle CloneImpl(IDocument document)
    Parameters
    Type Name Description
    IDocument document
    Returns
    Type
    IParagraphStyle

    CreateFormats()

    Declaration
    protected virtual void CreateFormats()

    InitXDLSHolder()

    Declaration
    protected override void InitXDLSHolder()
    Overrides
    Style.InitXDLSHolder()

    ReadXmlAttributes(IXDLSAttributeReader)

    Declaration
    protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
    Parameters
    Type Name Description
    IXDLSAttributeReader reader
    Overrides
    Style.ReadXmlAttributes(IXDLSAttributeReader)

    RestoreReference(String, Int32)

    Declaration
    protected override void RestoreReference(string name, int index)
    Parameters
    Type Name Description
    System.String name
    System.Int32 index
    Overrides
    XDLSSerializableBase.RestoreReference(String, Int32)

    WriteXmlAttributes(IXDLSAttributeWriter)

    Declaration
    protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
    Parameters
    Type Name Description
    IXDLSAttributeWriter writer
    Overrides
    Style.WriteXmlAttributes(IXDLSAttributeWriter)

    Implements

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