Pages Config

Stimulsoft Reports.NET discussion
Post Reply
leonidio
Posts: 11
Joined: Thu Jan 04, 2007 12:39 pm
Location: São Paulo - SP - Brazil

Pages Config

Post by leonidio »

Good Morning, in my application will have page configuration. For example, in runtime it has the I change the page will be A4 or to letter? Somebody knows as I can make? Changing the width and height not changes the configuration.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Pages Config

Post by Edward »

Please set the Page size to the Custom value.

Than you will be able to change the height and the size of the page.

Thank you.
leonidio
Posts: 11
Joined: Thu Jan 04, 2007 12:39 pm
Location: São Paulo - SP - Brazil

Pages Config

Post by leonidio »

Edward thank´s for attention.

In my application will have a page of configurations where I will be able to choose which type of the paper I will go to use (A4 or Letter), these information I will be save in the data base. When I will be to print the reports, before I am necessary set the type of the paper, with the Stimulreport I have as I to make this?
Example

oReport.TypePaper = “A4” (that is an assumption)

Exist one solution for to make this?

If I will use Custom property, my application is not saved the configurations.

Do you understand? I don´t speak english very well!
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Pages Config

Post by Edward »

Please save the height and the width of the reports page in your database for the Custom size of the page. Then you can assign to the PapeSize property PaperKind.Custom value and set the Height and the Width of the Page.
If the printer contains the Paper with the name which was saved in your database, then the Page Height and Width will be set automatically.

Thank you.
leonidio
Posts: 11
Joined: Thu Jan 04, 2007 12:39 pm
Location: São Paulo - SP - Brazil

Pages Config

Post by leonidio »

Ok, I understand.

I?m using Version 2.0.50727. from 29th March 2007,

How to set report to use Paperkind?


Thank?s
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Pages Config

Post by Vital »

You can change paper kind of page from page designer. To call it please use Main menu - File->Page Setup.
In latest version we have also added new property - Page Size to page.

Thank you.
Post Reply