0

从 webservice url 下载 pdf 并将其保存在本地存储中。然后我不会在我的应用程序中显示它。我需要使用第三方工具为 pdfviewer 显示 pdf 或使用 c# for windows phone 创建自己的 pdfviewer 的解决方案

4

1 回答 1

1

您应该使用 LaunchFileAsync 打开并读取保存在本地存储中的 pdf 文件。

  // Access the file.
    StorageFile pdfFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync("file.pdf");

    // Launch the pdf file.
    Windows.System.Launcher.LaunchFileAsync(pdfFile);

在这里您可以了解有关 LaunchFileAsync 的更多信息。

于 2014-01-29T10:13:07.790 回答