Constructor PageMargins
- Namespace
- DotNetBrowser.Print
- Assembly
- DotNetBrowser.dll
PageMargins(int, int, int, int)
Creates custom margins for the web page in points. One point equals 1/72 of an inch.
public PageMargins(int left, int right, int top, int bottom)
Parameters
leftintThe margin on the left side of the sheet. Cannot be negative.
rightintThe margin on the right side of the sheet. Cannot be negative.
topintThe margin on the top side of the sheet. Cannot be negative.
bottomintThe margin on the bottom side of the sheet. Cannot be negative.
Exceptions
- ArgumentException
Any of the parameters is negative.