Click or drag to resize

PdfPageObjectSetMediaBox(Double, Double) Method

Sets the MediaBox.

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public void SetMediaBox(
	double width,
	double height
)

Parameters

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