PDEPlugIn.GetPanels(String, IPDEPlugInCallbackProtocol) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an array of IPDEPanel instances for the specified panel type and host context.
[Foundation.Export("PDEPanelsForType:withHostInfo:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PrintCore.IPDEPanel[]? GetPanels(string pdeType, PrintCore.IPDEPlugInCallbackProtocol host);
[<Foundation.Export("PDEPanelsForType:withHostInfo:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPanels : string * PrintCore.IPDEPlugInCallbackProtocol -> PrintCore.IPDEPanel[]
override this.GetPanels : string * PrintCore.IPDEPlugInCallbackProtocol -> PrintCore.IPDEPanel[]
Parameters
- pdeType
- String
The type of print panels to create (for example, kGeneralPageSetupDialogTypeIDStr
for page setup or kGeneralPrintDialogTypeIDStr for the print dialog).
A print-system-provided instance implementing IPDEPlugInCallbackProtocol, used to obtain the current printer, print settings, or page format.
Returns
An array of IPDEPanel instances, or null if no panels
should be used for the given type.
Implements
- Attributes