Skip to main content

PdfDocumentHelper.SaveDocumentAsync(Object, StorageFile, String) Method

Saves document to the specified file.

Namespace: DevExpress.UI.Xaml.Controls.Internal.Pdf

Assembly: DevExpress.UI.Xaml.Controls.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public static Task SaveDocumentAsync(
    object source,
    StorageFile targetFile,
    string fileName
)

Parameters

Name Type Description
source Object

The document to be saved.

targetFile Windows.Storage.StorageFile

The file to which to save the document.

fileName String

The name of the destination file.

Returns

Type Description
Task

The asynchronous operation.

Remarks

If the destination argument is null, the file save picker is used to specify the destination file. If the fileName argument is null, the name of the destination file is extracted from the source.

See Also