Page 1 of 1

Setting coordinates and extent of preview form

Posted: Wed Dec 18, 2013 10:41 am
by PJoyeux
Hi,

I am trying to change the coordinates and extent of the WPF-Preview window.

Until now when I call ShowWithWpfRibbonGUI() or if I create an instance of StiWpfViewerWindow and let it show, the Preview-Window is always drawn using the whole screen. I want to able to let it show at, say, 500x500 pixels and at the coordinates 100,100.

How can I achieve this?

Cheers,
Pascal

Re: Setting coordinates and extent of preview form

Posted: Wed Dec 18, 2013 11:16 am
by HighAley
Hello.

To create window with fixed size and position you could use your own window with StiWpfViewerControl.

Thank you.

Re: Setting coordinates and extent of preview form

Posted: Wed Dec 18, 2013 5:00 pm
by PJoyeux
Thank you, I was able to achieve what I wanted.

Cheers,
Pascal

Re: Setting coordinates and extent of preview form

Posted: Fri Dec 20, 2013 12:03 pm
by Alex K.
Hello,

Let us know if you need any additional help.