次の方法で共有


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)

Syntax

'宣言
ReadOnly Property MaxTextRightCoordinate As Double
double MaxTextRightCoordinate { get; }
property double MaxTextRightCoordinate {
    double get ();
}
abstract MaxTextRightCoordinate : float
function get MaxTextRightCoordinate () : double

Property Value

Type: System.Double
The right coordinate.

Remarks

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.

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace