Table of Contents

Class ParagraphElement

Namespace
LMKit.Document.Layout
Assembly
LM-Kit.NET.dll

Represents a paragraph in a document layout.

public sealed class ParagraphElement : ILayoutElement, IBounds
Inheritance
ParagraphElement
Implements
Inherited Members

Remarks

A ParagraphElement aggregates one or more LineElement instances and exposes their combined text and bounding geometry. Coordinates are expressed in the same coordinate system as the source layout engine.

Properties

Bottom

Gets the maximum Y coordinate of the paragraph’s bounding box.

Bounds

Returns the paragraph’s bounding quadrilateral.

Height

Gets the height of the paragraph’s bounding box.

Left

Gets the minimum X coordinate of the paragraph’s bounding box.

Lines

Gets the ordered collection of lines that compose this paragraph.

Right

Gets the maximum X coordinate of the paragraph’s bounding box.

Text

Gets the full paragraph text.

Top

Gets the minimum Y coordinate of the paragraph’s bounding box.

Width

Gets the width of the paragraph’s bounding box.

Methods

ToString()

Returns a readable string that includes the paragraph text and its bounding box metrics.

See Also