Page 1 of 1

Can we align the Cross header band on run time.

Posted: Tue Oct 16, 2012 11:27 am
by nicegaurav
I am using CrossHeaderBand on to the DataBand and place some labels on the CrossHeaderBands, can we align CrossHeaderBand or labels at run times... :?:

Thanks :|

Re: Can we align the Cross header band on run time.

Posted: Tue Oct 16, 2012 1:44 pm
by HighAley
Hello.

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details with examples?

Thank you.

Re: Can we align the Cross header band on run time.

Posted: Tue Oct 16, 2012 6:37 pm
by nicegaurav
On the report (.mrt file) using CrossHeaderBand(CHB) and in this taking some labels. CHB has some width like 3.61px and I want to expand the width of CHB on runtime, OR if we want to align it center on runtime..
Is it possible if yes, plz show me the way...

Thanx in advance.

Re: Can we align the Cross header band on run time.

Posted: Wed Oct 17, 2012 12:12 pm
by HighAley
Hello.

You could change the width with next code:

Code: Select all

(report.GetComponentByName("CrossHeaderBand1") as StiCrossHeaderBand).Width = YourWidthValue;
But there is no align property.

Thank you.

Re: Can we align the Cross header band on run time.

Posted: Wed Oct 17, 2012 12:31 pm
by nicegaurav
Thanks a lot.. :)

Re: Can we align the Cross header band on run time.

Posted: Wed Oct 17, 2012 1:08 pm
by HighAley
Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.