Class TextNfo
- Namespace
- SearchAThing.DocX
- Assembly
- netcore-docx.dll
helper class to map run offsets
public class TextNfo
- Inheritance
-
TextNfo
- Inherited Members
Constructors
TextNfo(WordprocessingDocument)
public TextNfo(WordprocessingDocument doc)
Parameters
Properties
Runs
public IReadOnlyList<Run> Runs { get; }
Property Value
RunsBeginOffset
public IReadOnlyList<int> RunsBeginOffset { get; }
Property Value
RunsTextLen
public IReadOnlyList<int> RunsTextLen { get; }
Property Value
Text
public string Text { get; }
Property Value
Methods
GetRunIdxBeginningAtOffset(int)
public int? GetRunIdxBeginningAtOffset(int offset)
Parameters
offset
int
Returns
- int?