Counting physical lines on a label

edited December 2011 in FastReport 4.0
I'm printing posting labels, using a number of fields (name, address, town, county, postode, etc.). If any field is too long for the label, it word-wraps (as I want), but then the last line of the label's contents can be forced down below the bottom of the label's printable area. If that happens, I want to be able to try to concatenate two short lines in order to recover the "lost" line. Is there a function or value which returns the physical number of lines about to be printed (rather than Memo.Lines.Count, which gives the line-count before wordwrap) ?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.