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.SaveToRegistry(string) Method

Saves the component printer’s format settings to the registry.

#Declaration

Delphi
procedure SaveToRegistry(const APath: string);

#Parameters

Name Type
APath string

#Remarks

Call the SaveToRegistry method to save component printer settings to the registry path specified by the APath parameter. You can later load these settings from the registry using the LoadFromRegistry method. By default, only the component printer’s format settings are saved. You can override the SaveToIniFile method (which is called internally by the SaveToRegistry method) in TdxComponentPrinter descendants, to save any additional data.

The SaveToRegistry method is called automatically when the component printer’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.

See Also