PDEPlugIn.GetPanels(String, IPDEPlugInCallbackProtocol) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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).
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