IFormattedLine.SetVisibleArea(Rect) Method

Definition

Sets the visible area in which this text line will be formatted.

public:
 void SetVisibleArea(System::Windows::Rect visibleArea);
public void SetVisibleArea (System.Windows.Rect visibleArea);
abstract member SetVisibleArea : System.Windows.Rect -> unit
Public Sub SetVisibleArea (visibleArea As Rect)

Parameters

visibleArea
Rect

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

Exceptions

This IWpfTextViewLine has been disposed.

Remarks

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

Applies to