0

PDF ファイルのロード中に、コントロール内に白い背景が表示されます。白い背景を削除する方法。

これは、xamlでpdfビューアコントロールを使用する方法です

<dxpdf:PdfViewerControl AsyncDocumentLoad="True" x:Name="testView" ShowOpenFileOnStartScreen="False" ShowStartScreen="False"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch"  CommandBarStyle="None"/>

そしてコードビハインドで

 testView.DocumentSource = "D:\\test.pdf";
            testView.ZoomMode = DevExpress.Xpf.DocumentViewer.ZoomMode.FitToWidth;
4

1 に答える 1