Skip to main content

TdxPSPreviewWindow.SaveToIniFile(TCustomIniFile,string) Method

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

Declaration

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