How to set the Text Component automatically paging

Stimulsoft Reports.WEB discussion
Post Reply
Jia Sheng
Posts: 49
Joined: Thu Jul 04, 2013 7:59 am

How to set the Text Component automatically paging

Post by Jia Sheng »

Now when we design a report(text type) using a Text component(we put all the text displayed on the Text component), we hope that when the height of the Text component is higher than the page height, the excess part of the Text component will automatically paging rather than display behind the first page.In addition, this Text component contains the data source expressions, we cannot predict the height of the Text component.If wo can not set the Text Component automatically paging, it will bring the issue that Converted pdf, word documents show incomplete.
Now the display is as follows:
image1.jpg
image1.jpg (261.16 KiB) Viewed 1941 times
What should I set the properties to achieve this effect(We set the Text component's property 'Grow to Height' to true, but it did not work)? Or write any code to achieve this effect?
ps:We also want to know how to set the RichText Component automatically paging?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to set the Text Component automatically paging

Post by HighAley »

Hello.

At fist you should set the right hight of the page of the report. Then the text will be split on parts.
To give you more detailed answer we need to see your report template with sample data.

Thank you.
Jia Sheng
Posts: 49
Joined: Thu Jul 04, 2013 7:59 am

Re: How to set the Text Component automatically paging

Post by Jia Sheng »

Aleksey Andreyanov wrote:Hello.

At fist you should set the right hight of the page of the report. Then the text will be split on parts.
To give you more detailed answer we need to see your report template with sample data.

Thank you.
First we had set the right hight of the page of the report and this Text component contains the data source expressions, we cannot predict the height of the Text component.we hope that when the height of the Text component is higher than the page height, the excess part of the Text component will automatically paging rather than display behind the first page.
Demo:
StimulsoftApplication.rar
(15.16 MiB) Downloaded 218 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to set the Text Component automatically paging

Post by HighAley »

Hello.

Please, try to set the Can Break property of the text component to True.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to set the Text Component automatically paging

Post by HighAley »

Hello.

The text that is placed exactly on the page is static and it can't be broken.
Please move this text component on a Data Band.

Thank you.
Post Reply