Skip to main content
A newer version of this page is available. .

PrintPreviewFormExBase.SaveState Property

Specifies whether the Print Preview Form‘s size, position and zoom setting are saved to the Windows registry.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v18.2.dll

Declaration

[DefaultValue(true)]
public bool SaveState { get; set; }

Property Value

Type Default Description
Boolean **true**

true if Print Preview Form settings are saved in the Windows registry; otherwise, false.

Remarks

If the SaveState property is set to true, Print Preview Form settings are written to the Windows registry each time the application is closed and retrieved from the registry each time the application starts.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveState property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also