IPDEPlugInCallbackProtocol.WillChangePpdOptionKeyValue(String, String) Methode

Definition

Benachrichtigt das Drucksystem, dass das Plug-In eine PPD-Optionsauswahl ändern möchte. Das Drucksystem überprüft die Änderung und gibt zurück, ob sie zulässig ist.

[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

Parameter

option
String

Der PPD-Hauptschlüssel, der die Zu ändernde Option identifiziert.

choice
String

Der gewünschte PPD-Auswahlwert für option.

Gibt zurück

true wenn die Änderung zulässig ist; false wenn die Änderung mit einer anderen Einstellung in Konflikt steht und nicht fortgesetzt werden soll.

Attribute

Gilt für: