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

TdxPSPreviewWindow.SaveToIniFile(TCustomIniFile,string) Method

Stores the Print Preview window’s settings to an INI file.

#Declaration

Delphi
procedure SaveToIniFile(AIniFile: TCustomIniFile; const ASectionName: string); override;

#Parameters

Name Type
AIniFile TCustomIniFile
ASectionName string

#Remarks

This method overrides the second overloaded variant of the SaveToIniFile method declared in the ancestor class to store the Print Preview window’s settings to a specified section of a certain INI file that is currently open. The AIniFile and ASectionName parameters specify the INI file and section, respectively.

By default, only the window’s position on screen, size, and the visibility of window elements are stored. You can handle the OnSaveProperties event or override the SaveToIniFile method in TdxPSPreviewWindow descendants to store any additional data.

See Also