Skip to main content

IWebDocumentViewerAuthorizationService.CanReleaseDocument(String) Method

Specifies whether disposal of the specified document in the viewer cache or internal storage is permitted.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

bool CanReleaseDocument(
    string documentId
)

Parameters

Name Type Description
documentId String

A String value that identifies the document.

Returns

Type Description
Boolean

true, if the document can be disposed of; otherwise, false.

Remarks

Prevents unauthorized disposal of the document from the viewer’s cache and internal storage.

See Also