[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.TextMap.ITextParagraph

ITextParagraph Interface

Represents a paragraph of text.

Namespace: GrapeCity.Documents.Pdf.TextMap
Assembly: DS.Documents.Pdf.dll
Syntax
public interface ITextParagraph : IReadOnlyList<ITextLine>, IReadOnlyCollection<ITextLine>, IEnumerable<ITextLine>, IEnumerable
Public Interface ITextParagraph
    Inherits IReadOnlyList(Of ITextLine), IReadOnlyCollection(Of ITextLine), IEnumerable(Of ITextLine), IEnumerable

Properties

Name Description
Page

Gets the Page containing this paragraph.

Runs

Gets the list of text runs that comprise this paragraph.

TextMap

Gets the ITextMap containing this paragraph.

Methods

Name Description
GetCoords()

Returns a quadrilateral that specifies the bounds of this paragraph (relative to the top left corner of the page).

GetPoints()

Returns the list of point arrays that specify the bounds of text fragments in this paragraph (relative to the top left corner of the page).

GetText()

Returns the paragraph text.

GetTextRuns(int, int, out int, out int, out int, out int)

Finds the first and last ITextRun objects in the Runs collection of this paragraph that contain a specified fragment in this paragraph's whole text (as returned by GetText()). The fragment is specified by the starting index of its first character in the paragraph text, and the total number of characters in the fragment.