Home > BSPrinter documentation > Reference

DeleteAllUserPreferences Method


Applies to: PrintPreview control , IPrinterEx object


Return Type: None.
No parameters.


Description:

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

Note:

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
    Next


See Also:

DeleteUserPreferences method
RememberUserPreferences property