Click or drag to resize

PageMargins Constructor

Creates custom margins for the web page in points. One point equals 1/72 of an inch.

Namespace:  DotNetBrowser.Print
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.13.0
Syntax
C#
public PageMargins(
	int left,
	int right,
	int top,
	int bottom
)

Parameters

left
Type: SystemInt32
The margin on the left side of the sheet. Cannot be negative.
right
Type: SystemInt32
The margin on the right side of the sheet. Cannot be negative.
top
Type: SystemInt32
The margin on the top side of the sheet. Cannot be negative.
bottom
Type: SystemInt32
The margin on the bottom side of the sheet. Cannot be negative.
Exceptions
ExceptionCondition
ArgumentExceptionAny of the parameters is negative.
See Also