Include vertical lines in detail to the end of page.


03-09-2010, 2:59 PM
I am including vertical lines in my detail section but I would like to have these lines print on the entire section between the header and footer groups. Is there a way of accomplishing this? The problem is that I need the lines printed in the empty space between the last iteration of the detail and the beginning of the page/report footer.

Re: Include vertical lines in detail to the end of page.


03-09-2010, 11:06 PM
Hello,

If I understood your issue correctly then you want to insert a vertical line between the groups as shown in the attached image. In ActiveReports for .Net 3.0 you can achieve this behavior by using 3 line controls, one in each GroupHeader, Detail and GroupFooter section. You also need to set the AnchorBottom property of line control as true.

However in ActiveReports 6 we have a new control i.e cross section control to achieve this behavior. To know more about this control and other new feature in ActiveReports 6 you may check this link.

Regards,
Ankit Nigam


Re: Include vertical lines in detail to the end of page.


03-10-2010, 6:54 AM
I am already printing the lines as you suggested however, I need to print the lines over the entire height of the page regardless of how many iterations of detail and grouping there are.
So I am trying to accomplish as shown here.

Re: Include vertical lines in detail to the end of page.


03-10-2010, 6:54 AM
oops

Re: Include vertical lines in detail to the end of page.


03-10-2010, 11:11 AM
Hello,

You could use the drawline method to draw lines and meet your requirement. Please take a look at this help document.

Regards,
Prantik

Re: Include vertical lines in detail to the end of page.


03-10-2010, 2:07 PM
What if I am not using the ActiveReports Viewer? We just create PDFs. Is there a way to utilize this method in the ActiveReports class?

Re: Include vertical lines in detail to the end of page.


03-10-2010, 10:40 PM
Hello,

DrawLine() method draws a line over the rpt.Document, so you can use this method to draw a line without displaying report on the viewer. However as I already suggested you that you can use the Line control to draw a line on your page. Please find the attached sample which implements the desired behavior.

Regards,
Ankit Nigam

Re: Include vertical lines in detail to the end of page.


03-11-2010, 8:04 AM
The DrawLine() method is the only situation to meet my requirement. Thank you.

Robert