Skip to main content

TdxPSFileBasedExplorer.SaveToRegistry(string) Method

Saves the explorer’s settings to the specified path within the registry.

Declaration

procedure SaveToRegistry(const APath: string);

Parameters

Name Type
APath string

Remarks

The SaveToRegistry method is used to save the explorer component’s settings into the registry path specified by the APath parameter. By default, only the explorer’s root path is saved. You can override the SaveToIniFile method (which is called internally by the SaveToRegistry method) in TdxPSFileBasedExplorer descendants to save any additional data.

The SaveToRegistry method is called automatically when the explorer’s settings are stored to the registry with ExpressPrinting System settings. To enable this mode, assign dxstRegistry to the OptionsStoring.StorageType property of the currently active engine controller and designate the destination registry path via the engine controller’s OptionsStoring.RegistryPath property.

To load the explorer’s settings from the registry, call the LoadFromRegistry method.

See Also