Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DbDocumentStorage.Clear() Method

In This Article

Deletes the table records where a cached document is stored.

Namespace: DevExpress.XtraPrinting.Caching

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public override void Clear()

#Remarks

When creating a DbDocumentStorage object, you specify a database table to use for storing the generated document. Use the Clear method to delete the records that store the document identified by the DocumentId property.

When the Database Document Storage is disposed of, its content is cleared, if the ClearOnDispose property is set to true. The content is cleared using the Clear method.

See Also