DocumentPage.SetBleedBox Method (Rect)


Sets the dimensions and location of the BleedBox.

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

protected void SetBleedBox(
	Rect bleedBox


Type: System.Windows.Rect

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

The bleed box includes material, such as crop marks, that are not necessarily included in the final, post-cropping, physical page. For this reason, the X and Y coordinates of the bleedBox parameter can be negative numbers, because they are specified as relative to the upper left corner of the page. For the same reason, the Height and Width of bleedBox can be greater than the height and width of the page.

.NET Framework
Available since 3.0
Return to top