Table of Contents

Class FindTextResult

Namespace
SearchAThing.DocX
Assembly
netcore-docx.dll

contains results of FindText information about which runs contains TextSearch with information about the offset for the first run in the FirstRunBeginOffset

public class FindTextResult
Inheritance
FindTextResult
Inherited Members

Constructors

FindTextResult(string, IReadOnlyList<Run>, int)

public FindTextResult(string textSearch, IReadOnlyList<Run> runs, int firstRunBeginOffset)

Parameters

textSearch string
runs IReadOnlyList<Run>
firstRunBeginOffset int

Properties

FirstRunBeginOffset

public int FirstRunBeginOffset { get; }

Property Value

int

Paragraph

public Paragraph Paragraph { get; }

Property Value

Paragraph

Runs

runs (with same parent paragraph); TextSearch occurrence start at first run with FirstRunBeginOffset and continue to following Runs for remaining length of the TextSearch

public IReadOnlyList<Run> Runs { get; }

Property Value

IReadOnlyList<Run>

TextSearch

public string TextSearch { get; }

Property Value

string