PDEPlugIn.GetPanels(String, IPDEPlugInCallbackProtocol) Méthode

Définition

Retourne un tableau d’instances pour le type de IPDEPanel panneau et le contexte hôte spécifiés.

[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[]

Paramètres

pdeType
String

Type de panneaux d’impression à créer (par exemple, kGeneralPageSetupDialogTypeIDStr pour la mise en page ou kGeneralPrintDialogTypeIDStr pour la boîte de dialogue d’impression).

host
IPDEPlugInCallbackProtocol

Instance fournie par le système d’impression implémentant IPDEPlugInCallbackProtocol, utilisée pour obtenir l’imprimante actuelle, les paramètres d’impression ou le format de page.

Retours

Tableau d’instances IPDEPanel ou null si aucun panneau ne doit être utilisé pour le type donné.

Implémente

Attributs

S’applique à