Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
535
Unable to acces UltraPrintPreviewDialog
posted

Good day,

The title is self explanatory. I am trying to make a shared class where I take care of the printing functions.
However I cannot seem to be able to reach the namespace/class UltraPrintPreviewDialog.

Imports Infragistics.Win
Imports Infragistics.Win.Printing
Imports Infragistics.Win.UltraWinGrid

Public Class ToolPrint
    Public Sub New(ByVal grid As ultragrid)
        Dim printDocument As New UltraGridPrintDocument
        Dim printPreviewDialog As New UltraPrintPreviewDialog

        printDocument.Grid = grid
    End Sub
End Class

 

Error is: Type 'UltraPrintPreviewDialog' is not defined