How to set a default Page size for a new Report or Page

Stimulsoft Reports.NET discussion
Post Reply
thetele
Posts: 2
Joined: Wed Apr 25, 2007 11:53 am
Location: Montreal, Canada

How to set a default Page size for a new Report or Page

Post by thetele »

Is there a way to set the configuration of the Designer to always have a custom default
page size (Letter 8 1/2 X 11 in)?

Thanks.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

How to set a default Page size for a new Report or Page

Post by Vital »

You can use following static property (available only in latest prereliase builds 2007.2):

Code: Select all

StiOptions.Engine.DefaultPaperSize = PaperKind.Letter;
Thank you.
thetele
Posts: 2
Joined: Wed Apr 25, 2007 11:53 am
Location: Montreal, Canada

How to set a default Page size for a new Report or Page

Post by thetele »

Vital wrote:You can use following static property (available only in latest prereliase builds 2007.2):

Code: Select all

StiOptions.Engine.DefaultPaperSize = PaperKind.Letter;
Thank you.
Can we set this from the Configurator tool ?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

How to set a default Page size for a new Report or Page

Post by Vital »

No. This property available only from code.

Thank you.
Post Reply