PrintTicketConverter Class
Collapse the table of content
Expand the table of content

PrintTicketConverter Class

 

Converts managed PrintTicket objects to unmanaged Graphics Device Interface (GDI) DEVMODE structures, and vice versa.

Namespace:   System.Printing.Interop
Assembly:  ReachFramework (in ReachFramework.dll)

System.Object
  System.Printing.Interop.PrintTicketConverter

[ComVisibleAttribute(false)]
public sealed class PrintTicketConverter : IDisposable

NameDescription
System_CAPS_pubmethodPrintTicketConverter(String, Int32)

Initializes a new instance of the PrintTicketConverter class for the specified printer.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticMaxPrintSchemaVersion

Gets the maximum Print Schema version that PrintTicketConverter can support.

NameDescription
System_CAPS_pubmethodConvertDevModeToPrintTicket(Byte[])

Converts the specified DEVMODE structure to a managed code PrintTicket.

System_CAPS_pubmethodConvertDevModeToPrintTicket(Byte[], PrintTicketScope)

Converts the specified DEVMODE structure to a managed code PrintTicket that has the specified scope.

System_CAPS_pubmethodConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType)

Converts the specified managed PrintTicket to an unmanaged DEVMODE structure that is based on the DEVMODE structure identified by the BaseDevModeType.

System_CAPS_pubmethodConvertPrintTicketToDevMode(PrintTicket, BaseDevModeType, PrintTicketScope)

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.

System_CAPS_pubmethodDispose()

Releases the resources used by the PrintTicketConverter.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

Releases all resources used by the current instance of the PrintTicketConverter class.

None of the methods of this class will validate the PrintTicket. To validate it, use MergeAndValidatePrintTicket.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft