Page 1 of 2

Page as Group Header

Posted: Wed Feb 22, 2017 6:05 pm
by Leandro Borges
Hello.

In my report there are several companies. Is it possible when change the company, print a page as a Group Header?
Ex: Company A (would be page 1)
Texts (would be page 2)
Company B (would be page 1)
Texts (would be page 2)

Thank you.

Re: Page as Group Header

Posted: Wed Feb 22, 2017 9:33 pm
by Alex K.
Hello,

Please try to use the NewPageBefore or NewPageAfter properties for this task.

Thank you.

Re: Page as Group Header

Posted: Thu Feb 23, 2017 11:42 am
by Leandro Borges
Hello.

I found the property.
Is it possible to make text print in the center of the page without increasing the band?

Thank you.

Re: Page as Group Header

Posted: Fri Feb 24, 2017 3:29 pm
by HighAley
Hello, Leandro.

If the text should be static, you could place it in center without any band.

Thank you.

Re: Page as Group Header

Posted: Fri Feb 24, 2017 9:09 pm
by Leandro Borges
Hello.

Ok, but how do I set the NewPageBefore property without band?

Thank you.

Re: Page as Group Header

Posted: Mon Feb 27, 2017 1:02 pm
by HighAley
Hello, Leandro.

If the text component is on the other template, it will always be on a new page.
Or you could use the Engine.NewPage(); method.
Maybe we missed something.
Could you describe your whole scenario?

Thank you.

Re: Page as Group Header

Posted: Wed Mar 01, 2017 1:59 pm
by Leandro Borges
Hello.

Is it possible to increase the height of a text component using BeforePrint?

Thank you.

Re: Page as Group Header

Posted: Wed Mar 01, 2017 7:45 pm
by HighAley
Hello.

Yes, you could change the Height property of the component.

Thank you.

Re: Page as Group Header

Posted: Thu Mar 02, 2017 12:13 pm
by Leandro Borges
Hello.

As? Could you give me an example?

Thank you.

Re: Page as Group Header

Posted: Fri Mar 03, 2017 8:06 am
by HighAley
Hello, Leandro.

Here is a simple code:

Code: Select all

Text1.Height = 5;
Thank you.