IFormattedLine::SetVisibleArea Method (Rect)

 

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)

void SetVisibleArea(
	Rect visibleArea
)

Parameters

visibleArea
Type: System.Windows::Rect

The bounds of the visible area on the drawing surface upon which this text line will be formatted.

Exception Condition
ObjectDisposedException

This IWpfTextViewLine has been disposed.

The visibility state of this text line is determined strictly by the top and bottom of visibleArea.

Return to top
Show: