DocumentPage.SetContentBox Method (Rect)

 

Sets the dimension and location of the ContentBox.

Namespace:   System.Windows.Documents
Assembly:  PresentationCore (in PresentationCore.dll)

protected void SetContentBox(
	Rect contentBox
)

Parameters

contentBox
Type: System.Windows.Rect

An object that specifies the size and location of a rectangle.

.NET Framework
Available since 3.0
Return to top
Show: