Export (0) Print
Expand All

ITextView.MaxTextRightCoordinate Property

Gets the right coordinate of the longest line, whether or not that line is currently visible, in logical pixels.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

double MaxTextRightCoordinate { get; }

Property Value

Type: Double
The right coordinate.

This value is cached and may not represent the width of the widest line in the underlying buffer. For example, if the widest line has never been formatted, then it is not in the cache.

© 2015 Microsoft