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.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru