PrintVisual Method
Collapse the table of content
Expand the table of content

PrintDialog.PrintVisual Method (Visual, String)

 

Prints a visual (non-text) object, which is derived from the Visual class, to the PrintQueue that is currently selected.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

[<SecurityCriticalAttribute>]
member PrintVisual : 
        visual:Visual *
        description:string -> unit

Parameters

visual
Type: System.Windows.Media.Visual

The Visual to print.

description
Type: System.String

A description of the job that is to be printed. This text appears in the user interface (UI) of the printer.

Exception Condition
ArgumentNullException

visual is null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft