Class
OfficeChangeAnchor
OfficeIMO.Diff
Where one side of a change sits in its source: a token range, plus a page, a location label and page regions when the source has them.
Inheritance
- object
- OfficeChangeAnchor
Usage
Explore 4 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
- Property OfficeChange.New
- Property OfficeChange.Old
Accepted by parameters 2
- Constructor OfficeChange.OfficeChange
- Constructor OfficeChange.OfficeChange
Constructors
public OfficeChangeAnchor(int start, int length, int? pageNumber = null, string? location = null, IEnumerable<OfficeChangeRegion>? regions = null) #Creates an anchor.
Parameters
- start int
- Zero-based index of the first token of the change in the source token sequence.
- length int
- Number of tokens; zero marks an insertion point.
- pageNumber int? = null
- One-based page of the first token, when the source is paged.
- location string? = null
- Free-form location, for example a paragraph or cell reference.
- regions System.Collections.Generic.IEnumerable<OfficeIMO.Diff.OfficeChangeRegion>? = null
- Page rectangles covered by the change.
Inherited Methods
Properties
public IReadOnlyList<OfficeChangeRegion> Regions { get; } #Page rectangles covered by the change.