Skip to content

ITextOffsetMap interface

public interface ITextOffsetMap
name description
MapFromSource(…) Projected offset a source offset sits at. Where the projection stands text at that offset rather than over it, the answer is in front of that text.
MapRangeFromSource(…) Projected range a source range covers. The start binds in front of text the projection stands at that offset and the end binds behind it, which is the only way a range of no source length can name the text projected at its position. The default answers from the two endpoints, which is exact for a map that stands text over source text only.
MapToSource(…)