View XPS on Dyalog Form
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
-
- Posts: 431
- Joined: Fri Oct 03, 2008 4:14 pm
View XPS on Dyalog Form
In 12.1 we can I think host .net controls on classic Dyalog forms. Does anyone know if there is a .NET control for viewing XPS documents, so I can display one a Dyalog form? Does anyone have a code snippet they would like to share that does this?
- Morten|Dyalog
- Posts: 460
- Joined: Tue Sep 09, 2008 3:52 pm
Re: View XPS on Dyalog Form
Haven't tried anything, but entering "microsoft xps viewer control" into Google brings up quite a few hits... Including an ActiveX component from "SANATech". Did you see http://www.microsoft.com/whdc/xps/viewxps.mspx?
-
- Posts: 431
- Joined: Fri Oct 03, 2008 4:14 pm
Re: View XPS on Dyalog Form
Morten, yes I've seen the MS page. The viewer comes with Windows 7, but it appears there is no .Net control for it - it's just an end user app. I dont really want a third party control....
It seems strange MS would go to all the trouble of this and not have a control for it...
It seems strange MS would go to all the trouble of this and not have a control for it...
-
- Posts: 431
- Joined: Fri Oct 03, 2008 4:14 pm
Re: View XPS on Dyalog Form
Hmm... this might do it:
http://msdn.microsoft.com/en-us/library/system.windows.controls.documentviewer.aspx
I'll post back if it looks promising...
http://msdn.microsoft.com/en-us/library/system.windows.controls.documentviewer.aspx
I'll post back if it looks promising...