Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IDocumentPersistentStorageAsync.TryGetPageAsync(String, Int32, Stream) Method

Asynchronously retrieves a specified document page from storage.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.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