Back to Devexpress

PdfViewer.SetDocumentSourceAsync(PdfDocumentSource) Method

maui-devexpress-dot-maui-dot-pdf-dot-pdfviewer-dot-setdocumentsourceasync-x28-devexpress-dot-maui-dot-pdf-dot-pdfdocumentsource-x29.md

latest988 B
Original Source

PdfViewer.SetDocumentSourceAsync(PdfDocumentSource) Method

Opens the PDF document passed in method parameters.

Namespace : DevExpress.Maui.Pdf

Assembly : DevExpress.Maui.Pdf.dll

NuGet Package : DevExpress.Maui.Pdf

Declaration

csharp
public Task SetDocumentSourceAsync(
    PdfDocumentSource source
)

Parameters

NameTypeDescription
sourcePdfDocumentSource

The PDF document source.

|

Returns

TypeDescription
Task

A task that allows you to wait for the document is opened.

|

See Also

PdfViewer Class

PdfViewer Members

DevExpress.Maui.Pdf Namespace