WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ParagraphFormat

    Show / Hide Table of Contents

    Class ParagraphFormat

    Represents paragraph formatting.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    FormatBase
    ParagraphFormat
    Implements
    IEntityBase
    IXDLSSerializable
    Inherited Members
    FormatBase.m_keysOffset
    FormatBase.ImportContainer(FormatBase)
    FormatBase.HasKey(Int32)
    FormatBase.EnsureComposites(Int32[])
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetFullKey(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.IsDefault
    FormatBase.PropertiesHash
    FormatBase.Item[Int32]
    XDLSSerializableBase.m_id
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.XDLSHolder
    EntityBase.SetOwner(IEntityBase)
    EntityBase.Owner
    EntityBase.Document
    EntityBase.DocumentEx
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class ParagraphFormat : FormatBase, IEntityBase, IXDLSSerializable

    Constructors

    ParagraphFormat()

    Initializing constructor.

    Declaration
    public ParagraphFormat()

    ParagraphFormat(IDocument)

    Initializing constructor.

    Declaration
    public ParagraphFormat(IDocument document)
    Parameters
    Type Name Description
    IDocument document

    Fields

    AfterSpacingKey

    Declaration
    public const int AfterSpacingKey = 9
    Field Value
    Type Description
    System.Int32

    BackColorKey

    Declaration
    public const int BackColorKey = 21
    Field Value
    Type Description
    System.Int32

    BeforeSpacingKey

    Declaration
    public const int BeforeSpacingKey = 8
    Field Value
    Type Description
    System.Int32

    BidiKey

    Declaration
    public const int BidiKey = 31
    Field Value
    Type Description
    System.Int32

    BordersKey

    Declaration
    public const int BordersKey = 20
    Field Value
    Type Description
    System.Int32

    ColumnBreakAfterKey

    Declaration
    public const int ColumnBreakAfterKey = 22
    Field Value
    Type Description
    System.Int32

    FirstLineIndentKey

    Declaration
    public const int FirstLineIndentKey = 5
    Field Value
    Type Description
    System.Int32

    HrAlignmentKey

    Declaration
    public const int HrAlignmentKey = 0
    Field Value
    Type Description
    System.Int32

    KeepFollowKey

    Declaration
    public const int KeepFollowKey = 10
    Field Value
    Type Description
    System.Int32

    KeepKey

    Declaration
    public const int KeepKey = 6
    Field Value
    Type Description
    System.Int32

    LeftIndentKey

    Declaration
    public const int LeftIndentKey = 2
    Field Value
    Type Description
    System.Int32

    PageBreakAfterKey

    Declaration
    public const int PageBreakAfterKey = 13
    Field Value
    Type Description
    System.Int32

    PageBreakBeforeKey

    Declaration
    public const int PageBreakBeforeKey = 12
    Field Value
    Type Description
    System.Int32

    RightIndentKey

    Declaration
    public const int RightIndentKey = 3
    Field Value
    Type Description
    System.Int32

    TabsKey

    Declaration
    public const int TabsKey = 30
    Field Value
    Type Description
    System.Int32

    WidowControlKey

    Declaration
    public const int WidowControlKey = 11
    Field Value
    Type Description
    System.Int32

    Properties

    AfterSpacing

    Gets / sets the spacing (in points) after the paragraph.

    Declaration
    public float AfterSpacing { get; set; }
    Property Value
    Type Description
    System.Single

    BackColor

    Gets/sets background color of the paragraph

    Declaration
    public Color BackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    BeforeSpacing

    Gets / sets the spacing (in points) before the paragraph.

    Declaration
    public float BeforeSpacing { get; set; }
    Property Value
    Type Description
    System.Single

    Bidi

    Gets / sets right-to-left property of the paragraph.

    Declaration
    public bool Bidi { get; set; }
    Property Value
    Type Description
    System.Boolean

    Borders

    Gets collection of borders in the paragraph

    Declaration
    public Borders Borders { get; }
    Property Value
    Type Description
    Borders
    Remarks

    Not supported by Essential PDF

    ColumnBreakAfter

    True if a column break is forced after the paragraph

    Declaration
    public bool ColumnBreakAfter { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Not supported by Essential PDF

    FirstLineIndent

    Get / set first paragraph line indent

    Declaration
    public float FirstLineIndent { get; set; }
    Property Value
    Type Description
    System.Single
    Remarks

    Not supported by Essential PDF

    HorizontalAlignment

    Gets / sets horizontal alignment for the paragraph.

    Declaration
    public HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    HorizontalAlignment

    Keep

    True if all lines in the paragraph are to remain on the same page.

    Declaration
    public bool Keep { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Not supported by Essential PDF

    KeepFollow

    True if the paragraph is to remains on the same page as the paragraph that follows it.

    Declaration
    public bool KeepFollow { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Not supported by Essential PDF

    LeftIndent

    Gets / sets the value that represents the left indent for paragraph.

    Declaration
    public float LeftIndent { get; set; }
    Property Value
    Type Description
    System.Single

    PageBreakAfter

    True if a page break is forced after the paragraph

    Declaration
    public bool PageBreakAfter { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Not supported by Essential PDF

    PageBreakBefore

    True if a page break is forced before the paragraph

    Declaration
    public bool PageBreakBefore { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Not supported by Essential PDF

    RightIndent

    Gets / sets the value that represents the right indent for paragraph.

    Declaration
    public float RightIndent { get; set; }
    Property Value
    Type Description
    System.Single

    Tabs

    Gets the tabs info.

    Declaration
    public TabCollection Tabs { get; }
    Property Value
    Type Description
    TabCollection

    The tabs info.

    WidowControl

    True if the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph.

    Declaration
    public bool WidowControl { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Not supported by Essential PDF

    Methods

    EnsureComposites()

    Declaration
    protected override void EnsureComposites()
    Overrides
    FormatBase.EnsureComposites()

    GetDefComposite(Int32)

    Declaration
    protected override FormatBase GetDefComposite(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    FormatBase
    Overrides
    FormatBase.GetDefComposite(Int32)

    GetDefValue(Int32)

    Declaration
    protected override object GetDefValue(int key)
    Parameters
    Type Name Description
    System.Int32 key
    Returns
    Type Description
    System.Object
    Overrides
    FormatBase.GetDefValue(Int32)

    ImportMembers(FormatBase)

    Declaration
    protected override void ImportMembers(FormatBase format)
    Parameters
    Type Name Description
    FormatBase format
    Overrides
    FormatBase.ImportMembers(FormatBase)

    InitXDLSHolder()

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

    ReadXmlAttributes(IXDLSAttributeReader)

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

    WriteXmlAttributes(IXDLSAttributeWriter)

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

    Implements

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