Homage to yang-fei-there is a simple usage example:
Http://www.cnblogs.com/yang-fei/p/4885570.html.
The guy who wrote moonpdfpanel about this open source software implementation Introduction:
Https://www.codeproject.com/articles/579878/moonpdfpanel-a-wpf-based-pdf-viewer-control
Question 1:
Description: Libmupdf.dll cannot be loaded
Workaround: libmupdf.dll是用C++写的。把它放到
the Debug or Release folder is fine. The upper layer is called by P/invoke.
Question 2:
Description: When loading a PDF file over 250 pages, infinitely magnified, or arbitrarily dragged, it throws "out ofMemory exception".
The solution: Moonpdfpane the Maxzoomfactor property of the appropriate set of smaller just fine. For example, I open a 906-page file, set the Moonpdfpane to 3.0 will be an error, set to 2.8 is good.
This article is copyright to the author and the blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility .
View PDF files in WPF-summary of issues based on open source Moonpdfpanel (no need to install any PDF reader)