问题
Is it possible to render PDF using DocumentViewer (it's WPF control) ?
If it is possible then how ? Code example or link to some code example would be appreciated. Thanks for answers.
回答1:
I don't think it is possible with the DocumentViewer - unless you convert to XPS first.
There are a few other threads on displaying PDF in WPF:
- Display a PDF in WPF Application
- Please suggest a PDF viewer for WPF
- http://hugeonion.com/2009/04/06/displaying-a-pdf-file-within-a-wpf-application/
- http://www.codeproject.com/KB/applications/PDFViewerControl.aspx
来源:https://stackoverflow.com/questions/3430177/render-pdf-using-documentviewer-control