IPDEPlugInCallbackProtocol インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
印刷ダイアログ拡張機能が現在のプリンターと印刷ジョブに関する情報 (セッション、設定、ページ形式、プリンター、PPD データなど) を取得できるようにする、印刷システムによって実装されるコールバック プロトコル。
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="PDEPlugInCallbackProtocol", WrapperType=typeof(PrintCore.PDEPlugInCallbackProtocolWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPrintSession", ReturnType=typeof(PrintCore.PMPrintSession), Selector="printSession")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPrintSettings", ReturnType=typeof(PrintCore.PMPrintSettings), Selector="printSettings")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPageFormat", ReturnType=typeof(PrintCore.PMPageFormat), Selector="pageFormat")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPrinter", ReturnType=typeof(PrintCore.PMPrinter), Selector="PMPrinter")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPpdFile", ReturnType=typeof(System.IntPtr), Selector="ppdFile")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WillChangePpdOptionKeyValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.String), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="willChangePPDOptionKeyValue:ppdChoice:")]
public interface IPDEPlugInCallbackProtocol : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="PDEPlugInCallbackProtocol", WrapperType=typeof(PrintCore.PDEPlugInCallbackProtocolWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPrintSession", ReturnType=typeof(PrintCore.PMPrintSession), Selector="printSession")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPrintSettings", ReturnType=typeof(PrintCore.PMPrintSettings), Selector="printSettings")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPageFormat", ReturnType=typeof(PrintCore.PMPageFormat), Selector="pageFormat")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPrinter", ReturnType=typeof(PrintCore.PMPrinter), Selector="PMPrinter")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetPpdFile", ReturnType=typeof(System.IntPtr), Selector="ppdFile")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WillChangePpdOptionKeyValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.String), typeof(System.String) }, ReturnType=typeof(System.Boolean), Selector="willChangePPDOptionKeyValue:ppdChoice:")>]
type IPDEPlugInCallbackProtocol = interface
interface INativeObject
interface IDisposable
- 派生
- 属性
- 実装
プロパティ
| 名前 | 説明 |
|---|---|
| Handle |
アンマネージ オブジェクト表現へのハンドル (ポインター)。 (継承元 INativeObject) |
メソッド
| 名前 | 説明 |
|---|---|
| GetPageFormat() |
ダイアログで使用されるページ形式を返します。 |
| GetPpdFile() |
現在のプリンターの CUPS PPD 構造体 ( |
| GetPrinter() |
現在のプリンターを返します。 ページ設定ダイアログの場合、これは既定のプリンターです。印刷ダイアログの場合は、現在選択されているプリンターです。 |
| GetPrintSession() |
現在の印刷セッションを返します。 |
| GetPrintSettings() |
ダイアログで変更されている印刷設定を返します。 |
| WillChangePpdOptionKeyValue(String, String) |
プラグインが PPD オプションの選択を変更することを印刷システムに通知します。 印刷システムは変更を検証し、許可されているかどうかを返します。 |
拡張メソッド
| 名前 | 説明 |
|---|---|
| GetHandle(INativeObject) |
印刷ダイアログ拡張機能が現在のプリンターと印刷ジョブに関する情報 (セッション、設定、ページ形式、プリンター、PPD データなど) を取得できるようにする、印刷システムによって実装されるコールバック プロトコル。 |
| GetNonNullHandle(INativeObject, String) |
印刷ダイアログ拡張機能が現在のプリンターと印刷ジョブに関する情報 (セッション、設定、ページ形式、プリンター、PPD データなど) を取得できるようにする、印刷システムによって実装されるコールバック プロトコル。 |