Skip to main content

TdxPSFileBasedExplorer.LoadFromRegistry(string) Method

Loads the explorer’s settings from the registry.

Declaration

procedure LoadFromRegistry(const APath: string);

Parameters

Name Type
APath string

Remarks

The LoadFromRegistry method is used to load the explorer component’s settings from a particular path within the registry. The source registry path is specified by the APath parameter. By default, only the explorer’s root path is loaded. You can override the LoadFromIniFile method (which is called internally by the LoadFromRegistry method) in TdxPSFileBasedExplorer descendants to load any additional data.

The LoadFromRegistry method is called automatically when the explorer’s settings are restored from 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.

See Also