Class ParagraphFormat
Represents the ParagraphFormat class.
Implements
Inherited Members
Namespace: Syncfusion.EJ.DocumentEditor
Assembly: Syncfusion.EJ.DocumentEditor.dll
Syntax
public class ParagraphFormat : BaseNode, ISerializable
Constructors
ParagraphFormat()
Initializes a new instance of the ParagraphFormat class.
Declaration
public ParagraphFormat()
Properties
AfterSpacing
Gets or Sets the after spacing of the ParagraphFormat.
Declaration
public double AfterSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
BeforeSpacing
Gets or Sets the before spacing of the ParagraphFormat.
Declaration
public double BeforeSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
FirstLineIndent
Gets or Sets the first line indent of the ParagraphFormat.
Declaration
public double FirstLineIndent { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LeftIndent
Gets or Sets the left indent of the ParagraphFormat.
Declaration
public double LeftIndent { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LineSpacing
Gets or Sets the line spacing of the ParagraphFormat.
Declaration
public double LineSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LineSpacingType
Gets or Sets the line spacing of the ParagraphFormat.
Declaration
public LineSpacingType LineSpacingType { get; set; }
Property Value
Type | Description |
---|---|
LineSpacingType |
ListFormat
Gets or sets the ListFormat of the ParagraphFormat.
Declaration
public ListFormat ListFormat { get; set; }
Property Value
Type | Description |
---|---|
ListFormat |
RightIndent
Gets or Sets the right indent of the ParagraphFormat.
Declaration
public double RightIndent { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TextAlignment
Gets or Sets the TextAlignment of the ParagraphFormat.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
TextAlignment |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo to populate with data. |
System.Runtime.Serialization.StreamingContext | context | The destination (see System.Runtime.Serialization.StreamingContext) for this serialization. |
Exceptions
Type | Condition |
---|---|
System.Security.SecurityException |