XPS Viewer Scriptable?

Hi,

I was wondering if the XPS Viewer will be scriptable. In other words, will we be able to add it to a web page as an active X and control what it is displaying.

We have some fairly large XPS files (>5MB) and we'd like to only send them page per page based on what the user wants to see. Will that be feasible?

Thank you,
Tony.

[344 byte] By [TonyMalandain] at [2007-12-23]
# 1

Hi Tony,

The XPS viewer that ships as part of Windows Vista is not scriptable but it is built using the Windows Presentation Foundation APIs which should help you accomplish your scenario. Take a look at the DocumentViewer control in the .NET Framework 3.0 SDK for the details on this viewer.

Thanks,
-Tim

TimSellers-MSFT at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,XML Paper Specification (XPS)...

Software Development for Windows Vista

Site Classified