Group: Forum Members
Last Active: 9 Years Ago
Posts: 1,
Visits: 13
|
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 & nbsp ; 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() 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 .
|
Group: Forum Members
Last Active: Last Week
Posts: 3,055,
Visits: 4,058
|
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& nbsp ; method of the print dialog returns true& nbsp ; 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 .
Best Regards, Nevron Support Team
|