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 Angular UI for Vue UI for jQuery KendoReact 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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ParagraphLineInfo

Represents the line information of a paragraph within a document layout.

Inheritance
System.Object
ParagraphLineInfo
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class ParagraphLineInfo : Object

Constructors

ParagraphLineInfo(ParagraphLineInfo)

Declaration
public ParagraphLineInfo(ParagraphLineInfo paragraphLineInfo)
Parameters
ParagraphLineInfo paragraphLineInfo

ParagraphLineInfo(Paragraph)

Declaration
public ParagraphLineInfo(Paragraph paragraph)
Parameters
Paragraph paragraph

Properties

BaselineOffset

Gets or sets the baseline offset of the paragraph line.

Declaration
public float BaselineOffset { get; }
Property Value
System.Single

FirstInlineBox

Gets the first inline box in the paragraph line information.

Declaration
public InlineLayoutBox FirstInlineBox { get; set; }
Property Value
InlineLayoutBox

FloatingBoxSpacingBefore

Gets or sets the spacing before the floating box in the paragraph line information.

Declaration
public float FloatingBoxSpacingBefore { get; }
Property Value
System.Single

HasOverflowCharacter

Gets a value indicating whether the paragraph line contains an overflow character.

Declaration
public bool HasOverflowCharacter { get; }
Property Value
System.Boolean

Height

Gets the height of the paragraph line information.

Declaration
public float Height { get; }
Property Value
System.Single

IndexInParagraph

Gets the index of the paragraph in which this line resides.

Declaration
public int IndexInParagraph { get; }
Property Value
System.Int32

IsLineSplitByFloatingBox

Gets a value indicating whether the line is split by a floating box.

Declaration
public bool IsLineSplitByFloatingBox { get; }
Property Value
System.Boolean

LastWordIndex

Gets the index of the last word in the paragraph line information.

Declaration
public int LastWordIndex { get; }
Property Value
System.Int32

Paragraph

Represents the paragraph associated with the paragraph line information.

Declaration
public Paragraph Paragraph { get; }
Property Value
Paragraph

TralingExtraSpaceWidth

Gets the width of the trailing extra space in the paragraph line information.

Declaration
public float TralingExtraSpaceWidth { get; }
Property Value
System.Single

Width

Gets the width of the paragraph line information.

Declaration
public float Width { get; }
Property Value
System.Single

WordCount

Gets the number of words in the paragraph line.

Declaration
public int WordCount { get; }
Property Value
System.Int32

Methods

UpdateBaselineOffset(Single, Boolean)

Updates the baseline offset of the paragraph line information.

Declaration
public void UpdateBaselineOffset(float value, bool affectsLineSpacing)
Parameters
System.Single value

The new baseline offset to set.

System.Boolean affectsLineSpacing

Indicates whether the offset is relative to the current baseline.

UpdateDescent(Single, Boolean)

Updates the descent information for the paragraph line.

Declaration
public void UpdateDescent(float value, bool affectsLineSpacing)
Parameters
System.Single value

The descent value to be set.

System.Boolean affectsLineSpacing

Indicates whether the update is due to a line break.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • 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.