PaperSizeExtensionsSetPaperSizeTPrintSettings Method |
Namespace: DotNetBrowser.Print.Settings
public static TPrintSettings SetPaperSize<TPrintSettings>( this IPaperSize<TPrintSettings> obj, PaperSize paperSize ) where TPrintSettings : class, IPrintSettings
Exception | Condition |
---|---|
ArgumentException | The specified paper size is null. |
ArgumentException | The specified paper size is not supported by the printer. |