TdxComponentPrinter.LoadFromRegistry(string) Method
Loads the component printer’s format settings from the registry.
Declaration
procedure LoadFromRegistry(const APath: string);
Parameters
Name | Type |
---|---|
APath | string |
Remarks
Call the LoadFromRegistry method to obtain component printer settings from the registry path specified by the APath parameter. Remember to save the appropriate data to the registry beforehand using the SaveToRegistry method. By default, only the component printer’s format settings are loaded. You can override the LoadFromIniFile method (which is called internally by the LoadFromRegistry method) in TdxComponentPrinter descendants, to load any additional data.
The LoadFromRegistry method is called automatically when the component printer’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.