FileDocumentStorage.Clear() Method

Deletes the folder where a cached document is stored.

Namespace: DevExpress.XtraPrinting.Caching

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


public override void Clear()


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