Can we align the Cross header band on run time.

Stimulsoft Reports.NET discussion
Post Reply
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Can we align the Cross header band on run time.

Post 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 :|
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

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

Post by HighAley »

Hello.

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

Thank you.
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

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

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

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

Post 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.
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

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

Post by nicegaurav »

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

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

Post by HighAley »

Hello.

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

Thank you.
Post Reply