Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Loading XPS file into DocumentViewer

$
0
0

Hi,

I'm trying to load one XPS file without success:

Dim document As New XpsDocument("c:\puesto\prueba.xps", FileAccess.Read, Packaging.CompressionOption.NotCompressed)

Dim fixed As FixedDocumentSequence = document.GetFixedDocumentSequence

visorXPS.Document = document


Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>