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

FileDocumentStorage.Clear() Method

Deletes the folder where a cached document is stored.

Namespace: DevExpress.XtraPrinting.Caching

Assembly: DevExpress.Printing.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public override void Clear()

Remarks

When creating a FileDocumentStorage object, you specify a directory to use for storing the generated document. When required, you can delete this directory by calling the Clear method.

When the FileDocumentStorage storage is disposed of, its content is cleared if the DocumentStorage.ClearOnDispose property is set to true. The content is cleared using the Clear method.

See Also