Class ParagraphFormat
Represents paragraph formatting.
Inheritance
System.Object
ParagraphFormat
Inherited Members
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()
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
Declaration
public const int BackColorKey = 21
Field Value
Declaration
public const int BeforeSpacingKey = 8
Field Value
Declaration
public const int BidiKey = 31
Field Value
Declaration
public const int BordersKey = 20
Field Value
Declaration
public const int ColumnBreakAfterKey = 22
Field Value
Declaration
public const int FirstLineIndentKey = 5
Field Value
Declaration
public const int HrAlignmentKey = 0
Field Value
Declaration
public const int KeepFollowKey = 10
Field Value
Declaration
public const int KeepKey = 6
Field Value
Declaration
public const int LeftIndentKey = 2
Field Value
PageBreakAfterKey
Declaration
public const int PageBreakAfterKey = 13
Field Value
PageBreakBeforeKey
Declaration
public const int PageBreakBeforeKey = 12
Field Value
Declaration
public const int RightIndentKey = 3
Field Value
Declaration
public const int TabsKey = 30
Field Value
Declaration
public const int WidowControlKey = 11
Field Value
Properties
Gets / sets the spacing (in points) after the paragraph.
Declaration
public float AfterSpacing { get; set; }
Property Value
Gets/sets background color of the paragraph
Declaration
public Color BackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the spacing (in points) before the paragraph.
Declaration
public float BeforeSpacing { get; set; }
Property Value
Gets / sets right-to-left property of the paragraph.
Declaration
public bool Bidi { get; set; }
Property Value
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
Get / set first paragraph line indent
Declaration
public float FirstLineIndent { get; set; }
Property Value
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
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
Gets / sets the value that represents the left indent for paragraph.
Declaration
public float LeftIndent { get; set; }
Property Value
PageBreakAfter
True if a page break is forced after the paragraph
Declaration
public bool PageBreakAfter { get; set; }
Property Value
PageBreakBefore
True if a page break is forced before the paragraph
Declaration
public bool PageBreakBefore { get; set; }
Property Value
Gets / sets the value that represents the right indent for paragraph.
Declaration
public float RightIndent { get; set; }
Property Value
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
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
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