FileDocumentStorage.Clear() Method

Deletes the folder where a cached document is stored.

Namespace: DevExpress.XtraPrinting.Caching

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

Declaration

public override void Clear()
Public Overrides Sub 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