Skip to main content

FileDocumentStorage.Clear() Method

Deletes the folder where a cached document is stored.

Namespace: DevExpress.XtraPrinting.Caching

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

NuGet Package: DevExpress.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