Skip to main content

PdfSearchResult Class

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Search result from text search.

public class PdfSearchResult

Inheritance: object -> PdfSearchResult

Constructors

NameDescription
PdfSearchResultNo summary available.

PdfSearchResult Constructor

public PdfSearchResult(int pageIndex, int charIndex, int charCount, System.Collections.Generic.IReadOnlyList<Avalonia.Rect> bounds)

Parameters

pageIndex int

charIndex int

charCount int

bounds System.Collections.Generic.IReadOnlyList<Avalonia.Rect>

Properties

NameDescription
BoundsBounding rectangles of the matched text in page coordinates.
CharCountNumber of characters in the match.
CharIndexCharacter index in the page text where the match starts.
PageIndexPage index (0-based) where the match was found.

Bounds Property

Bounding rectangles of the matched text in page coordinates.

public System.Collections.Generic.IReadOnlyList<Avalonia.Rect> Bounds { get; set; }

CharCount Property

Number of characters in the match.

public int CharCount { get; set; }

CharIndex Property

Character index in the page text where the match starts.

public int CharIndex { get; set; }

PageIndex Property

Page index (0-based) where the match was found.

public int PageIndex { get; set; }