Skip to main content

IDocumentPersistentStorageAsync.TryGetPageAsync(String, Int32, Stream) Method

Asynchronously retrieves a specified document page from storage.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

Task<bool> TryGetPageAsync(
    string id,
    int pageIndex,
    Stream stream
)

Parameters

Name Type Description
id String

A string that identifies a storage item that contains a document page.

pageIndex Int32

A document page index.

stream Stream

A destination stream for the document page.

Returns

Type Description
Task<Boolean>

A task that retrieves a document page from storage.

See Also