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
left
intThe margin on the left side of the sheet. Cannot be negative.
right
intThe margin on the right side of the sheet. Cannot be negative.
top
intThe margin on the top side of the sheet. Cannot be negative.
bottom
intThe margin on the bottom side of the sheet. Cannot be negative.
Exceptions
- ArgumentException
Any of the parameters is negative.