IPDEPlugInCallbackProtocol.WillChangePpdOptionKeyValue(String, String) Méthode

Définition

Avertit le système d’impression que le plug-in a l’intention de modifier un choix d’option PPD. Le système d’impression valide la modification et retourne si elle est autorisée.

[Foundation.Export("willChangePPDOptionKeyValue:ppdChoice:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool WillChangePpdOptionKeyValue(string option, string choice);
[<Foundation.Export("willChangePPDOptionKeyValue:ppdChoice:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member WillChangePpdOptionKeyValue : string * string -> bool
override this.WillChangePpdOptionKeyValue : string * string -> bool

Paramètres

option
String

Clé principale PPD identifiant l’option à modifier.

choice
String

Valeur de choix PPD souhaitée pour option.

Retours

true si la modification est autorisée ; false si la modification est en conflit avec un autre paramètre et ne doit pas continuer.

Attributs

S’applique à