|
Rank: Newbie Groups: Member
Joined: 3/10/2011 Posts: 9
|
Not sure if that's the right description, but here's what I'm trying to do. I'm trying to generate a pdf of bills for a customer. The bills might be on different bill stock (different background images) but the rows I'm placing in a table. The bill's lines are already generated and I just need to overlay them on the image. I'm currently using a table because for the middle of the bill I need the row height of the table to be just a little shorter than the text of the font (for tight grouping). I can get the image and the table set up just fine for one page, but when the page spills over to multiple pages I'm not seeing how to get a "new page" for my document with the ACMContent.
I'm not sure if what I said makes sense, but if someone has an idea to help me out that would be greatly appreciated. If I need to clear things up, please let me know too.
Thanks for your time!
-Brian Abel
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I am not sure if I understand your question correctly. AcmContent will automatically "flow" to the next page if needed (too much content). Otherwise you can force a page break by add an "AcmPageBreak" into the content tree. If you wish to re-apply the same stock image on every page, you can handle AcmRender.BeforeRenderPage event and render your stock images inside that handler. That handler is called before the "main contents" are placed on every page.
Does this answer your question?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/10/2011 Posts: 9
|
Ok, that makes sense, I wasn't understanding how the ACMContent was supposed to work. I'll give it a try and post again with any other questions.
Thanks for the quick reply!!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Please feel free to let us know if you need anything else.
|
|