Page 1 of 1

Layout at Runtime.

Posted: Fri Mar 08, 2013 5:05 am
by amitkaushik
Hi,

I am looking to create a report according to number of records.
for example if number of records are upto 4 then it is in Portrait and if greater then 4 the landscape,
I have to put cross control on it as well.

thank you

Re: Layout at Runtime.

Posted: Fri Mar 08, 2013 9:03 am
by Alex K.
Hello,

Please check the sample project in attachment.

Thank you.

Re: Layout at Runtime.

Posted: Tue Mar 12, 2013 11:41 am
by amitkaushik
Thanks for sample,

But will it possible use template but change it Portrait and landscape at runtime according to data.

thanks

Re: Layout at Runtime.

Posted: Tue Mar 12, 2013 12:17 pm
by Alex K.
Hello,

You can use the Orientation property for StiPage component in code.

Thank you.