共用方式為


ITextView.ViewportRight Property

Gets the position of the right edge of the viewpoint in the text rendering coordinate system.

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

Syntax

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

Property Value

Type: System.Double
The right edge of the viewport.

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace