Condividi tramite


IFormattedLine.SetVisibleArea Method

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

'Dichiarazione
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

See Also

Reference

IFormattedLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace