Hi,
Is it possible to display a pdf inside the html viewer rather than a web page?
Thanks,
Lisa.
Hello Lisa,
Everything that could be loaded in an IFRAME html element could be loaded in the XamWebHtmlViewer.
Regards,
Doychin Dochev
Could you please give me an example. It does not work for me.
Here is an example:
<ig:XamWebHtmlViewer x:Name="hv1" Width="600" Height="600"
SourceUri="http://www.waltzballs.org/fig/pdfex.pdf" />
However, the XamWebHtmlViewer control uses the browser engine to render its content, so the pdf rendering dependes on whether an pdf plugin is installed on the browser or not.
I had just figured it out. I'm using it with your tile view to view selected pdf's in the maximized tile template.
I had a dumb moment and forgot that I cannot reference the files relatively in the html view.
Lisa