IPDEPlugInCallbackProtocol.WillChangePpdOptionKeyValue(String, String) Method

Definition

Notifies the print system that the plugin intends to change a PPD option choice. The print system validates the change and returns whether it is allowed.

[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

Parameters

option
String

The PPD main key identifying the option to change.

choice
String

The desired PPD choice value for option.

Returns

true if the change is allowed; false if the change conflicts with another setting and should not proceed.

Attributes

Applies to