Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the visible area in which this text line will be formatted.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Sub SetVisibleArea ( _
visibleArea As Rect _
)
void SetVisibleArea(
Rect visibleArea
)
void SetVisibleArea(
Rect visibleArea
)
abstract SetVisibleArea :
visibleArea:Rect -> unit
function SetVisibleArea(
visibleArea : Rect
)
Parameters
- visibleArea
Type: System.Windows.Rect
The bounds of the visible area on the drawing surface upon which this text line will be formatted.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | This IWpfTextViewLine has been disposed. |
Remarks
The visibility state of this text line is determined strictly by the top and bottom of visibleArea.
.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.