JohnCarley
08-11-2008, 10:05 AM
I am looking for a procedure to determine what the height of a text box (on a report) will be after a string of text is placed in it, and it has "grown" or "shrunk" to the size of the text.
I need to predetermine the height of the output, prior to building the data for a report. This will be used determine which images will be associated with each group.
I looked at the "TextHeight" and "TextWidth" properties, but these apply only to reports. Also, the the text is not wrapped, so the "textHeight" is the height of a single row, even if the text requires multipl rows to print.
Any suggestions?
I need to predetermine the height of the output, prior to building the data for a report. This will be used determine which images will be associated with each group.
I looked at the "TextHeight" and "TextWidth" properties, but these apply only to reports. Also, the the text is not wrapped, so the "textHeight" is the height of a single row, even if the text requires multipl rows to print.
Any suggestions?