Language

PDEPanel.RestoreValues(NSError) Method

Definition

Refreshes the panel's UI elements by reading values from the page format or print settings. This is called before the panel is first shown and whenever the user selects a new preset.

[Foundation.Export("restoreValuesAndReturnError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool RestoreValues(out Foundation.NSError? error);
[<Foundation.Export("restoreValuesAndReturnError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RestoreValues : NSError -> bool
override this.RestoreValues : NSError -> bool

Parameters

error
NSError

On failure, contains an NSError describing what went wrong.

Returns

true if the values were restored successfully; otherwise, false.

Implements

Attributes

Applies to