Nevron NOV Printing


https://www.nevron.com/Forum/Topic10769.aspx
Print Topic | Close Window

By Viktor Domazetovski - 8 Years Ago
With the new Nevron.Nov framework, few classes have been removed, such as NPrintManager and NPrintPreviewDialog. I was wondering whether the print preview is now possible? Does anyone know any examples regarding implementing a print preview?
Also, just a quick example  below in VB.net of a PRINT dialog box to show up, if the success is always false or sometimes false, how do we debug this? what are the restrictions of a dialog to show or not?

Dim printDocument = New NPrintDocument()
printdocument.DocumentName = "Test Document"
Dim pd = New NPrintDialog()
pd.Collate = True
pd.PrintDocument = printDocument
Dim success = pd.RequestShow()


The documentation has the following description:
public Method RequestShow Overridden. Requests for the dialog to be displayed.

By Nevron Support - 8 Years Ago
Hi,

NOV currently does not provide a print preview dialog. You can only show the standard system print dialog for selecting a printer and print settings. The RequestShow method of the print dialog returns true when the dialog has been successfully shown, which should always be the case if the dialog is shown from within any NOV content, for example after clicking a NOV button.