IPDEPlugIn.GetPanels(String, IPDEPlugInCallbackProtocol) Methode

Definition

Gibt ein Array von IPDEPanel Instanzen für den angegebenen Paneltyp und den Hostkontext zurück.

[Foundation.Export("PDEPanelsForType:withHostInfo:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PrintCore.IPDEPanel[]? GetPanels(string pdeType, PrintCore.IPDEPlugInCallbackProtocol host);
[<Foundation.Export("PDEPanelsForType:withHostInfo:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPanels : string * PrintCore.IPDEPlugInCallbackProtocol -> PrintCore.IPDEPanel[]
override this.GetPanels : string * PrintCore.IPDEPlugInCallbackProtocol -> PrintCore.IPDEPanel[]

Parameter

pdeType
String

Der Typ der zu erstellenden Druckbereiche (z kGeneralPageSetupDialogTypeIDStr . B. für die Seiteneinrichtung oder kGeneralPrintDialogTypeIDStr für das Druckdialogfeld).

host
IPDEPlugInCallbackProtocol

Eine vom Drucksystem bereitgestellte Instanz, die zum IPDEPlugInCallbackProtocolAbrufen des aktuellen Druckers, der Druckeinstellungen oder des Seitenformats verwendet wird.

Gibt zurück

Ein Array von IPDEPanel Instanzen oder null wenn für den angegebenen Typ keine Panels verwendet werden sollen.

Attribute

Gilt für: