I am generating html in a vb dll to be displayed in a frame for printing by the user. I need to place an image at the bottom of the each printed page (like a footer). Is there a way to count lines?
In my old word processing days I could determine how much of the page had been used by getting the pts size off the font being used. Now in html with tables and
's, I was wondering if there was an easy way to assess line count. Can anyone tell me?
MORE INFO ON MY DESIGN:
My design consists of storing multiple templates in a database. A header, a body and a footer. The body is used to present the data elements on the page. At some point I need to stop placing data elements on the page and put the footer down, before starting a new page. I was considering adding a field to the database and record the base count of lines each template uses, and then in code add lines as the body of individual data grows, or subtract lines for the items the user wants to supress from print. Is there an easier way? Like a Height property on an image?