Home > BSPrinter documentation > Reference

DeleteUserPreferences Method

Applies to: PrintPreview, IPrinterEx object

  Return Type:     None.  
 
  Parameter(s):  
   In     Optional     ReportID     As     String  


Description:

Deletes the user preferences that were previously saved.

For the PrintPreview control, if no ReportID is set (in this property), the last settings are saved per control instance. If ReportID property setting is set, they are saved per control instance + ReportID.

The optional parameter ReportID can be used to delete the settings of a different report than the one currently set in the ReportID property (if any).

Note:

The custom styles (GridReportStyle) that the user saved are not deleted.

See Also:

DeleteAllUserPreferences method
ReportID property
RememberUserPreferences property