Click or drag to resize

PdfPageObjectSetMediaBox Method (Double, Double, Double, Double)

Sets the MediaBox.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public void SetMediaBox(
	double left,
	double bottom,
	double right,
	double top
)

Parameters

left
Type: SystemDouble
The left X coordinate of the MediaBox.
bottom
Type: SystemDouble
The bottom Y coordinate of the MediaBox.
right
Type: SystemDouble
The right X coordinate of the MediaBox.
top
Type: SystemDouble
The top Y coordinate of the MediaBox.
See Also