Edit

Share via


DocumentPage.SetContentBox(Rect) Method

Definition

Sets the dimension and location of the ContentBox.

protected:
 void SetContentBox(System::Windows::Rect contentBox);
protected void SetContentBox (System.Windows.Rect contentBox);
member this.SetContentBox : System.Windows.Rect -> unit
Protected Sub SetContentBox (contentBox As Rect)

Parameters

contentBox
Rect

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

Applies to