PrintTicketConverter PrintTicketConverter PrintTicketConverter PrintTicketConverter Class

Definición

Convierte los objetos PrintTicket administrados en estructuras de interfaz de dispositivos gráficos no administrados (GDI) DEVMODE y viceversa.Converts managed PrintTicket objects to unmanaged Graphics Device Interface (GDI) DEVMODE structures, and vice versa.

public ref class PrintTicketConverter sealed : IDisposable
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class PrintTicketConverter : IDisposable
type PrintTicketConverter = class
    interface IDisposable
Public NotInheritable Class PrintTicketConverter
Implements IDisposable
Herencia
PrintTicketConverterPrintTicketConverterPrintTicketConverterPrintTicketConverter
Atributos
Implementaciones

Comentarios

Ninguno de los métodos de esta clase validará PrintTicket.None of the methods of this class will validate the PrintTicket. Para validarlo, use MergeAndValidatePrintTicket.To validate it, use MergeAndValidatePrintTicket.

Constructores

PrintTicketConverter(String, Int32) PrintTicketConverter(String, Int32) PrintTicketConverter(String, Int32) PrintTicketConverter(String, Int32)

Inicializa una nueva instancia de la clase PrintTicketConverter para la impresora especificada.Initializes a new instance of the PrintTicketConverter class for the specified printer.

Propiedades

MaxPrintSchemaVersion MaxPrintSchemaVersion MaxPrintSchemaVersion MaxPrintSchemaVersion

Obtiene la máximo versión del Esquema de impresión que PrintTicketConverter admite.Gets the maximum Print Schema version that PrintTicketConverter can support.

Métodos

ConvertDevModeToPrintTicket(Byte[]) ConvertDevModeToPrintTicket(Byte[]) ConvertDevModeToPrintTicket(Byte[]) ConvertDevModeToPrintTicket(Byte[])

Convierte la estructura DEVMODE especificada en código administrado PrintTicket.Converts the specified DEVMODE structure to a managed code PrintTicket.

ConvertDevModeToPrintTicket(Byte[], PrintTicketScope) ConvertDevModeToPrintTicket(Byte[], PrintTicketScope) ConvertDevModeToPrintTicket(Byte[], PrintTicketScope) ConvertDevModeToPrintTicket(Byte[], PrintTicketScope)

Convierte la estructura especificada DEVMODE en código administrado PrintTicket que tiene el ámbito especificado.Converts the specified DEVMODE structure to a managed code PrintTicket that has the specified scope.

ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType) ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType) ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType) ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType)

Convierte el PrintTicket especificado administrado en una estructura DEVMODE no administrada basada en la estructura DEVMODE identificada por BaseDevModeType.Converts the specified managed PrintTicket to an unmanaged DEVMODE structure that is based on the DEVMODE structure identified by the BaseDevModeType.

ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType, PrintTicketScope) ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType, PrintTicketScope) ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType, PrintTicketScope) ConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType, PrintTicketScope)

Convierte el código administrado especificado PrintTicket con el ámbito especificado, en una estructura DEVMODE no administrada basada en la estructura DEVMODE identificada por BaseDevModeType.Converts the specified managed code PrintTicket with the specified scope, into an unmanaged DEVMODE structure that is based on the DEVMODE structure identified by the BaseDevModeType.

Dispose() Dispose() Dispose() Dispose()

Libera los recursos que usa PrintTicketConverter.Releases the resources used by the PrintTicketConverter.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Implementaciones de interfaz explícitas

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

Libera todos los recursos usados por la instancia actual de la clase PrintTicketConverter.Releases all resources used by the current instance of the PrintTicketConverter class.

Se aplica a