Back to Devexpress

PdfViewer.ShareDocumentAsync(String) Method

maui-devexpress-dot-maui-dot-pdf-dot-pdfviewer-dot-sharedocumentasync-x28-system-dot-string-x29.md

latest1.0 KB
Original Source

PdfViewer.ShareDocumentAsync(String) Method

Invokes the share UI that prompts the user to choose an app to share with.

Namespace : DevExpress.Maui.Pdf

Assembly : DevExpress.Maui.Pdf.dll

NuGet Package : DevExpress.Maui.Pdf

Declaration

csharp
public Task ShareDocumentAsync(
    string fileName = null
)

Optional Parameters

NameTypeDefaultDescription
fileNameStringnull

The name with which the file is shared.

|

Returns

TypeDescription
Task

A task that allows you to wait for the appropriate share option is selected.

|

See Also

PdfViewer Class

PdfViewer Members

DevExpress.Maui.Pdf Namespace