Method Apply
- Namespace
- DotNetBrowser.Print.Settings
- Assembly
- DotNetBrowser.dll
Apply()
Applies the configured print settings. You should call this method to regenerate the internal print preview using the configured settings and update the total page count to be printed.
void Apply()
Remarks
This method is invoked automatically when you choose to proceed in the PrintHtmlContentHandler or PrintPdfContentHandler. If the settings cannot be applied at this point, the printing operation is canceled.
Exceptions
- ObjectDisposedException
The IPrintJob<TPrintSettings> has already been disposed.
- InvalidOperationException
The print settings were not applied properly.