skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ParagraphSpacing

Specifies the inter-line and inter-paragraph spacing which shall be applied to the contents of a paragraph.

Inheritance
System.Object
ParagraphSpacing
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()
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.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.