Click or drag to resize

PdfPageObjectSetMediaBox Method (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 width,
	double height
)

Parameters

width
Type: SystemDouble
The right X coordinate of the MediaBox. The left X coordinate of the MediaBox is set to 0.
height
Type: SystemDouble
The top Y coordinate of the MediaBox. The bottom Y coordinate of the MediaBox is set to 0.
See Also