PrintDocument.PrintBitmap Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Starts the bitmap printing process for the specified document by opening the print dialog box.

Namespace:  System.Windows.Printing
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Sub PrintBitmap ( _
    documentName As String _
)
public void PrintBitmap(
    string documentName
)

Parameters

  • documentName
    Type: System.String
    The name of the document to print.

Remarks

Use this method to force a bitmap printing operation.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.