Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxComponentPrinter.LoadFromRegistry(string) Method

Loads the component printer’s format settings from the registry.

#Declaration

Delphi
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.

See Also