Viewer : initialize page view mode

Stimulsoft Reports.NET discussion
Post Reply
JeffB
Posts: 17
Joined: Fri Dec 18, 2009 9:24 am
Location: Toulouse (France)

Viewer : initialize page view mode

Post by JeffB »

Hi,

Is there a mean to initialize the page view mode by code ?

I'd like the report be in continuous mode and in full width size by default since the single page doesn't show all the page (when the scrollbar is at the bottom I can see only the first half of the page).

Thanks.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Viewer : initialize page view mode

Post by HighAley »

Hello.
JeffB wrote:Is there a mean to initialize the page view mode by code ?

I'd like the report be in continuous mode and in full width size by default since the single page doesn't show all the page (when the scrollbar is at the bottom I can see only the first half of the page).
Please, try to use next code:

Code: Select all

stiViewerControl1.PageViewMode = StiPageViewMode.Continuous;
stiViewerControl1.SetZoomPageWidth();
Thank you.
JeffB
Posts: 17
Joined: Fri Dec 18, 2009 9:24 am
Location: Toulouse (France)

Viewer : initialize page view mode

Post by JeffB »

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Viewer : initialize page view mode

Post by HighAley »

Hello.
JeffB wrote:Thank you.
We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply