Parameters
- left
- Specifies the left margin, in inches.
- top
- Specifies the top margin, in inches.
- right
- Specifies the right margin, in inches.
- bottom
- Specifies the bottom margin, in inches.
Initializes a new instance of the Margins class with the specified margins.
Exception | Description |
---|---|
System.ArgumentException | Left margin value must be greater than 0 or Top margin value must be greater than 0 or Right margin value must be greater than 0 or Bottom margin value must be greater than 0 |