Class ParagraphFormat
Represents paragraph formatting.
Inheritance
System.Object
ParagraphFormat
Inherited Members
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()
Assembly: Syncfusion.DLS.Base.dll
public class ParagraphFormat : FormatBase, IEntityBase, IXDLSSerializable
Constructors
Initializing constructor.
Declaration
Initializing constructor.
Declaration
public ParagraphFormat(IDocument document)
Parameters
Fields
Declaration
public const int AfterSpacingKey = 9
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int BackColorKey = 21
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int BeforeSpacingKey = 8
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int BidiKey = 31
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int BordersKey = 20
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int ColumnBreakAfterKey = 22
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int FirstLineIndentKey = 5
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int HrAlignmentKey = 0
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int KeepFollowKey = 10
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int KeepKey = 6
Field Value
Type |
Description |
System.Int32 |
|
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 |
|
Declaration
public const int RightIndentKey = 3
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int TabsKey = 30
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int WidowControlKey = 11
Field Value
Type |
Description |
System.Int32 |
|
Properties
Gets / sets the spacing (in points) after the paragraph.
Declaration
public float AfterSpacing { get; set; }
Property Value
Type |
Description |
System.Single |
|
Gets/sets background color of the paragraph
Declaration
public Color BackColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Gets / sets the spacing (in points) before the paragraph.
Declaration
public float BeforeSpacing { get; set; }
Property Value
Type |
Description |
System.Single |
|
Gets / sets right-to-left property of the paragraph.
Declaration
public bool Bidi { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets collection of borders in the paragraph
Declaration
public Borders Borders { get; }
Property Value
True if a column break is forced after the paragraph
Declaration
public bool ColumnBreakAfter { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Get / set first paragraph line indent
Declaration
public float FirstLineIndent { get; set; }
Property Value
Type |
Description |
System.Single |
|
Gets / sets horizontal alignment for the paragraph.
Declaration
public HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
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 |
|
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 |
|
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 |
|
PageBreakBefore
True if a page break is forced before the paragraph
Declaration
public bool PageBreakBefore { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets / sets the value that represents the right indent for paragraph.
Declaration
public float RightIndent { get; set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public TabCollection Tabs { get; }
Property Value
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 |
|
Methods
Declaration
protected override void EnsureComposites()
Overrides
Declaration
protected override FormatBase GetDefComposite(int key)
Parameters
Type |
Name |
Description |
System.Int32 |
key |
|
Returns
Overrides
Declaration
protected override object GetDefValue(int key)
Parameters
Type |
Name |
Description |
System.Int32 |
key |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Declaration
protected override void ImportMembers(FormatBase format)
Parameters
Overrides
Declaration
protected override void InitXDLSHolder()
Overrides
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Overrides
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Overrides
Implements