WordSearchResult
OfficeIMO.Word
Result of WordDocument.Find and WordDocument.Find: the paragraphs containing matches, grouped by document part, and the total match count.
Inheritance
- object
- WordSearchResult
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method WordDocument.Find
- Method WordSection.Find
Inherited Methods
Properties
public IReadOnlyList<WordRange> Ranges { get; } #Every match as an editable WordRange, in document order. The ranges are located when this property is first read.
public int MatchCount { get; internal set; } #Gets the total number of matches.
public IReadOnlyList<WordParagraph> Paragraphs { get; } #Every paragraph containing one or more matches, in the order of the body, table, header, footer, footnote, and endnote lists.
public IReadOnlyList<WordParagraph> BodyParagraphs { get; } #Body paragraphs containing one or more matches.
public IReadOnlyList<WordParagraph> TableParagraphs { get; } #Table-cell paragraphs containing one or more matches.
public IReadOnlyList<WordParagraph> DefaultHeaderParagraphs { get; } #Default-header paragraphs containing one or more matches.
public IReadOnlyList<WordParagraph> EvenPageHeaderParagraphs { get; } #Even-page-header paragraphs containing one or more matches.
public IReadOnlyList<WordParagraph> FirstPageHeaderParagraphs { get; } #First-page-header paragraphs containing one or more matches.
public IReadOnlyList<WordParagraph> FootnoteParagraphs { get; } #Ordinary footnote paragraphs containing one or more matches from a document-level search.
public IReadOnlyList<WordParagraph> EndnoteParagraphs { get; } #Ordinary endnote paragraphs containing one or more matches from a document-level search.