PrintDialog.PrintVisual(Visual, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prints a visual (non-text) object, which is derived from the Visual class, to the PrintQueue that is currently selected.
public:
void PrintVisual(System::Windows::Media::Visual ^ visual, System::String ^ description);
[System.Security.SecurityCritical]
public void PrintVisual (System.Windows.Media.Visual visual, string description);
public void PrintVisual (System.Windows.Media.Visual visual, string description);
[<System.Security.SecurityCritical>]
member this.PrintVisual : System.Windows.Media.Visual * string -> unit
member this.PrintVisual : System.Windows.Media.Visual * string -> unit
Public Sub PrintVisual (visual As Visual, description As String)
Parameters
- description
- String
A description of the job that is to be printed. This text appears in the user interface (UI) of the printer.
- Attributes
Exceptions
visual
is null
.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.