DocumentPage.ContentBox Property

 

When overridden in a derived class, gets the area of the page within the margins.

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

public virtual Rect ContentBox { get; }

Property Value

Type: System.Windows.Rect

A Rect representing the area of the page, not including the margins.

Use the protected SetContentBox method to set this property.

.NET Framework
Available since 3.0
Return to top
Show: