Maps between character positions and fractions of the total vertical extent of an ITextView.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Thetype exposes the following members.
Valid text positions range are [0...TextView.TextSnapshot.Length]. Valid scrollbar coordinates are [0.0 ... 1.0]. 0.0 corresponds to the top of the first line in the text view, and 1.0 corresponds to the bottom of the last line in the view.
Not every text position has a unique value. For example, every character on the same text buffer line has the same value, assuming that word wrap is not enabled. This interface is the base type of the IScrollMap interface, which is created using the IScrollMapFactoryService.