Click or drag to resize

PageSetMediaBox Method

Sets the media box for this page.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetMediaBox(
	Rect box
)

Parameters

box
Type: pdftron.PDFRect
the new media box for this page. The page dimensions are specified in user space coordinates. The media box defines the boundaries of the physical medium on which the page is to be printed. It may include any extended area surrounding the finished page for bleed, printing marks, or other such purposes.
Remarks
this method is equivalent to SetBox(Page::e_media)
See Also