Setting coordinates and extent of preview form

Stimulsoft Reports.WPF discussion
Post Reply
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Setting coordinates and extent of preview form

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Setting coordinates and extent of preview form

Post by HighAley »

Hello.

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

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Setting coordinates and extent of preview form

Post by PJoyeux »

Thank you, I was able to achieve what I wanted.

Cheers,
Pascal
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Setting coordinates and extent of preview form

Post by Alex K. »

Hello,

Let us know if you need any additional help.
Post Reply