This documentation is archived and is not being maintained.
PrintTicketConverter Class
Visual Studio 2010
Converts managed PrintTicket objects to unmanaged Graphics Device Interface (GDI) DEVMODE structures, and vice versa.
Assembly: ReachFramework (in ReachFramework.dll)
The PrintTicketConverter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PrintTicketConverter | Initializes a new instance of the PrintTicketConverter class for the specified printer. |
| Name | Description | |
|---|---|---|
![]() ![]() | MaxPrintSchemaVersion | Gets the maximum Print Schema version that PrintTicketConverter can support. |
| Name | Description | |
|---|---|---|
![]() | ConvertDevModeToPrintTicket(array<Byte>) | Converts the specified DEVMODE structure to a managed code PrintTicket. |
![]() | ConvertDevModeToPrintTicket(array<Byte>, PrintTicketScope) | Converts the specified DEVMODE structure to a managed code PrintTicket that has the specified scope. |
![]() | ConvertPrintTicketToDevMode(PrintTicket, 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) | 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 | Releases the resources used by the PrintTicketConverter. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IDisposable::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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
