PrintTicketConverter 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 Managed PrintTicket 物件轉換為 Unmanaged 圖形裝置介面 (GDI) DEVMODE 結構,反之亦然。
public ref class PrintTicketConverter sealed : IDisposable
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class PrintTicketConverter : IDisposable
public sealed class PrintTicketConverter : IDisposable
[<System.Runtime.InteropServices.ComVisible(false)>]
type PrintTicketConverter = class
interface IDisposable
type PrintTicketConverter = class
interface IDisposable
Public NotInheritable Class PrintTicketConverter
Implements IDisposable
- 繼承
-
PrintTicketConverter
- 屬性
- 實作
這個類別的方法都不會驗證 PrintTicket。 若要驗證它,請使用 MergeAndValidatePrintTicket。
Print |
針對指定的印表機,初始化 PrintTicketConverter 類別的新執行個體 (Instance)。 |
Max |
取得 PrintTicketConverter 可支援的列印結構描述版本上限。 |
Convert |
將指定的 DEVMODE 結構轉換為 Managed 程式碼 PrintTicket。 |
Convert |
將指定的 DEVMODE 結構轉換為具有指定範圍的 Managed 程式碼 PrintTicket。 |
Convert |
將指定的 Managed PrintTicket 轉換為 Unmanaged DEVMODE 結構,而這個結構以 BaseDevModeType 所識別的 DEVMODE 結構為基礎。 |
Convert |
將具有指定範圍的指定 Managed 程式碼 PrintTicket 轉換成 Unmanaged DEVMODE 結構,而這個結構以 BaseDevModeType 所識別的 DEVMODE 結構為基礎。 |
Dispose() |
釋放 PrintTicketConverter 使用的資源。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
IDisposable. |
釋放 PrintTicketConverter 類別目前的執行個體所使用的全部資源。 |
產品 | 版本 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |