Home > BSPrinter documentation > Reference

DeleteAllUserPreferences Method

Applies to: PrintPreview, IPrinterEx object

  Return Type:     None.  
  No parameters.  


Deletes all the reports user preferences that were previously saved for all the application.


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

You can delete them with this code:

    Dim Style As GridReportStyle
    For Each Style In PrintPreview1.GridReportStyles
        If Style.Custom Then
            PrintPreview1.GridReportStyles.Remove Style
        End If

See Also:

DeleteUserPreferences method
RememberUserPreferences property