Skip to content

ITextOffsetMap.MapRangeFromSource method

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.

public TextRange MapRangeFromSource(int sourceOffset, int sourceLength)