Nevron .NET Vision
Nevron.Diagram.Extensions Namespace / NPrintManager Class / Print Method / Print(Boolean) Method
whether to show the print dialog or not
Example


In This Topic
    Print(Boolean) Method
    In This Topic
    Prints the drawing using the settings of the NPrintManager. Optionally shows the print dialog first.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Print( _
       ByVal showPrintDialog As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPrintManager
    Dim showPrintDialog As System.Boolean
    Dim value As System.Boolean
     
    value = instance.Print(showPrintDialog)
    public virtual System.bool Print( 
       System.bool showPrintDialog
    )

    Parameters

    showPrintDialog
    whether to show the print dialog or not

    Return Value

    true if the drawing was successfully printed, otherwise false
    Example
    The following code prints the drawing without showing the print dialog.
    printManager.Print(false);
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also