How can I know the height a each detail band on a report? I need to khow the height of each detail band on a report an after this I want to ajust the height of each detail band to a custom height before print it. Thanks.
In the DetailBand.AfterPrint you should be able to determine the height of the detail band just printed. I am confused about what you are ultimately trying to accomplish. There may be a better way to go about it. Please provide more information about your final goal and I'll see if I can give you the best approach to use.
I want to print 7 details bands in each page. Each detail band has one image and one rich text, also the band has a rectangular shape like a frame for the band.
Each band can has a different height. I want to split the blank space below the data and the page footer into the bands of the page.
If I understand correctly, you want a total of seven bands per page. If there are not seven bands, you would like to fill the rest of the page with empty detail bands. Check out the following examples on adding drawcommands to the bottom of the detail band data and calculating the height of the detail band to place line at the bottom of it. If I'm on the wrong track with what your trying to do, let me know.
Comments
In the DetailBand.AfterPrint you should be able to determine the height of
the detail band just printed. I am confused about what you are ultimately
trying to accomplish. There may be a better way to go about it. Please
provide more information about your final goal and I'll see if I can give
you the best approach to use.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Each detail band has one image and one rich text, also the band has a
rectangular shape like a frame for the band.
Each band can has a different height. I want to split the blank space below
the data and the page footer into the bands of the page.
If I understand correctly, you want a total of seven bands per page. If
there are not seven bands, you would like to fill the rest of the page with
empty detail bands. Check out the following examples on adding drawcommands
to the bottom of the detail band data and calculating the height of the
detail band to place line at the bottom of it. If I'm on the wrong track
with what your trying to do, let me know.
http://www.digital-metaphors.com/tips/FillPageWithLines.zip
http://www.digital-metaphors.com/tips/LastDynamicDetailLine.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com