PrintTicketConverter(String, Int32) Constructor
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.
Initializes a new instance of the PrintTicketConverter class for the specified printer.
public:
PrintTicketConverter(System::String ^ deviceName, int clientPrintSchemaVersion);
public PrintTicketConverter (string deviceName, int clientPrintSchemaVersion);
new System.Printing.Interop.PrintTicketConverter : string * int -> System.Printing.Interop.PrintTicketConverter
Public Sub New (deviceName As String, clientPrintSchemaVersion As Integer)
Parameters
- deviceName
- String
The name of the printer that is bound to the new PrintTicketConverter instance.
- clientPrintSchemaVersion
- Int32
The Print Schema version to use in the PrintTicket and DEVMODE conversion.
Exceptions
deviceName
is null
.
clientPrintSchemaVersion
is 0 or less.
The converter was unable to bind to deviceName
.
Remarks
For more information on the DEVMODE structure, see DEVMODE.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor