IWpfTextViewLine.VisibleArea Property
Gets the visible area in which this text line will be rendered.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
声明
ReadOnly Property VisibleArea As Rect
Rect VisibleArea { get; }
property Rect VisibleArea {
Rect get ();
}
abstract VisibleArea : Rect
function get VisibleArea () : Rect
Property Value
Type: System.Windows.Rect
The visible area in which this text line will be rendered.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | this IWpfTextViewLine has been disposed. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.