Class ParagraphSpacing
Specifies the inter-line and inter-paragraph spacing which shall be applied to the contents of a paragraph.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.Styles
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public class ParagraphSpacing
Constructors
ParagraphSpacing(ParagraphProperties)
Initializes a new instance of the ParagraphSpacing class.
Declaration
public ParagraphSpacing(ParagraphProperties paragraphProperties)
Parameters
ParagraphProperties
paragraphProperties
The paragraph properties. |
Properties
AutomaticSpacingAfter
Gets or sets value indicating whether a consumer shall automatically determine the spacing after the paragraph based on its contents the automatic spacing after.
Declaration
public bool AutomaticSpacingAfter { get; set; }
Property Value
System.Boolean
The automatic spacing after. |
AutomaticSpacingBefore
Gets or sets value indicating whether a consumer shall automatically determine the spacing before the paragraph based on its contents the automatic spacing after.
Declaration
public bool AutomaticSpacingBefore { get; set; }
Property Value
System.Boolean
The automatic spacing after. |
LineSpacing
Gets or sets the value indicating the amount of vertical spacing between lines of text within a paragraph.
If LineSpacingType is Auto then the line height value times the value of the property, otherwise the value is in device independent pixels (1/96 inch).
Declaration
public double LineSpacing { get; set; }
Property Value
System.Double
The line spacing value. |
LineSpacingType
Gets or sets the value indicating how the spacing between lines is calculated.
Declaration
public HeightType LineSpacingType { get; set; }
Property Value
HeightType
The type line spacing rule. |
SpacingAfter
Gets or sets the spacing that should be added after the last line in a paragraph. The value is in device independent pixels (1/96 inch).
Declaration
public double SpacingAfter { get; set; }
Property Value
System.Double
The spacing after value. |
SpacingBefore
Gets or sets the spacing that should be added above the first line in a paragraph. The value is in device independent pixels (1/96 inch).
Declaration
public double SpacingBefore { get; set; }
Property Value
System.Double
The spacing before value. |