PDFVisualTextSearchResult¶
Namespace: O2S.Components.PDF4NET.View.Content
Defines a search result that is displayed in a control.
Inheritance Object → PDFVisualTextSearchResult
Constructors¶
PDFVisualTextSearchResult(PDFTextSearchResult, PDFVisualPage)¶
Initializes a new PDFVisualTextSearchResult object.
Parameters
textSearchResult PDFTextSearchResult
The underlying text search result object.
visualPage PDFVisualPage
The visual page this search result belongs to.
Properties¶
DisplayBounds¶
Gets the bounds of the search result.
Property Value
PDFDisplayRectangle
The bounding rectangle of the search result in visual coordinates.
Text¶
Gets the result text.
Property Value
String
The text associated with the result, also the text being searched.
TextRuns¶
Gets the text fragments.
Property Value
PDFTextRunCollection
The collection of text fragments that compose the search result.
TypographicDisplayBounds¶
Gets the typographic bounds of the search result.
Property Value
PDFDisplayRectangle
The typographic bounding rectangle of the search result in visual coordinates.
VisualPage¶
Gets the visual page that displays this search result.
Property Value
Methods¶
ToString()¶
Converts the object to string.
Returns
String
This object as string.