[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.TextMap.ITextLine

Interface ITextLine

Namespace
GrapeCity.Documents.Pdf.TextMap
Assembly
GcDocs.Pdf.dll

Represents a single continuous line of text.

public interface ITextLine : IReadOnlyList<ITextChar>, IReadOnlyCollection<ITextChar>, IEnumerable<ITextChar>, IEnumerable
Inherited Members
System.Collections.Generic.IReadOnlyList<GrapeCity.Documents.Pdf.TextMap.ITextChar>.this[int]
System.Collections.Generic.IReadOnlyCollection<GrapeCity.Documents.Pdf.TextMap.ITextChar>.Count
System.Collections.Generic.IEnumerable<GrapeCity.Documents.Pdf.TextMap.ITextChar>.GetEnumerator()

Properties

Paragraph

Gets the ITextParagraph object that owns this line.

ITextParagraph Paragraph { get; }

Property Value

ITextParagraph

RunFragments

Gets the list of ITextRunFragment objects.

IReadOnlyList<ITextRunFragment> RunFragments { get; }

Property Value

System.Collections.Generic.IReadOnlyList<T><ITextRunFragment>

Text

Gets the line text.

string Text { get; }

Property Value

string

Methods

GetCoords()

Gets the geometric coordinates (relative to the top left corner of the page) of this line.

Quadrilateral GetCoords()

Returns

Quadrilateral

The Quadrilateral specifying the coordinates on the page.

GetCoords(int, int)

Gets the geometric coordinates (relative to the top left corner of the page) of a range of ITextChar objects in this line.

Quadrilateral GetCoords(int startIndex, int count)

Parameters

startIndex int

The starting index of ITextChar object.

count int

The count of ITextChar objects.

Returns

Quadrilateral

The Quadrilateral specifying the coordinates on the page.

GetPoints()

Gets the geometric coordinates (relative to the top left corner of the page) of this line.

PointF[] GetPoints()

Returns

System.Drawing.PointF[]

The array of points specifying the coordinates on the page.

GetPoints(int, int)

Gets the geometric coordinates (relative to the top left corner of the page) of a range of ITextChar objects in this line.

PointF[] GetPoints(int startIndex, int count)

Parameters

startIndex int

The starting index of ITextChar object.

count int

The count of ITextChar objects.

Returns

System.Drawing.PointF[]

The array of points specifying the coordinates on the page.

GetText(int, int)

Returns the text of a range of ITextChar objects in this line.

string GetText(int startIndex, int count)

Parameters

startIndex int

The starting index of ITextChar object.

count int

The count of ITextChar objects.

Returns

string

The text of specified range of ITextChar objects.