xpsdocument

Generating XPS document from a Windows Application

I want to capture the html content in web browser and print to XPS Document. I am using a Windows application to do it since it is used in IE toolbar. Is there a way to capture the httpwebrequest to read the content of the webpage to to a FixedDocument object or other through other ways so that it can be converted to an XPSDocument? ...

Can I use XpsDocument class in a Windows Form app

I'm trying to convert an XPS document to a BMP so that a C# Windows Forms app using MODI can read it, because my understanding is that MODI cannot read XPS files, only .tif and .bmp I can't seem to locate the XpsDocument class. Can anyone tell me how to incorporate this into my Windows Forms app? thanks! ...

.NET WPF Application : Loading a resourced .XPS document

I'm trying to load a .xps document into a DocumentViewer object in my WPF application. Everything works fine, except when I try loading a resourced .xps document. I am able to load the .xps document fine when using an absolute path, but when I try loading a resourced document it throws a "DirectoryNotFoundException" Here's an example ...

Is there any IDE for editing/writing XPS docs

Hello! I am looking for an IDE or something like so, that I could write XPS docs in a split view of design/code? ...

How to create xps file from web page using c#?

How to create xps file from web page using c#? Any ideas? ...

Viewing Xps document - Compressed part has inconsistent data length

XpsDocument xpsDoc = new XpsDocument(fileName, FileAccess.Read); documentViewer.Document = xpsDoc.GetFixedDocumentSequence(); Second line gives next error: Compressed part has inconsistent data length Why? ...

How to add clickable link to XpsDocument?

Is it possible? ...

Any suggestions for dealing with XpsDocument GetFixedDocumentSequence performance issues?

I'm trying to provide a live preview of XPS documents without hanging my UI thread. Opening the document is fast enough, but when I call GetFixedDocumentSequence(), my UI becomes unresponsive for several seconds while the document chugs away. // creating the doc is fine (0.005 seconds) XpsDocument doc=new XpsDocument("BigFile.xps",File...

Integrating a WPF control in WinForms without allowing access to other WPF controls?

I need the DocumentViewer WPF control (for XPS files) in a Windows Form application. This is actually simple, but I'm not allowed to link in WPF assemblies. My boss' reasoning is that people will start using WPF controls which are incompatible with some of our software. I can't change any of this; it has to be XPS and cannot bring in mor...

DocumentMap/Table of Contents for DocumentViewer, and calling a hyperlink by name or link number for XPS documents.

I have XPS files with header bookmarks. If you open the source document in Word and go to view->Document Map, you see all of the bookmarks on the left. Is it possible to get this same functionality in DocumentViewer, like you would get with a PDF document in some sort of PDF reader? Also, the RequestNavigateEventHandler shows that each...