PageMarginsExtensionsSetPageMarginsTPrintSettings Method |
Namespace: DotNetBrowser.Print.Settings
public static TPrintSettings SetPageMargins<TPrintSettings>( this IPageMargins<TPrintSettings> obj, PageMargins pageMargins ) where TPrintSettings : class, IPrintSettings
| Exception | Condition |
|---|---|
| ArgumentException | The specified page margins is null. |
| ArgumentException | The specified page margins is not supported by the printer. |