Inside a table, needing to know the heigth of data printed

Printing a multicolumn table.
In one column I have a fixed size image.
Other columns can have variable data, so the height of these column can result higher or lower than that of the column with image.
I want to know this heith … to realigne all column.
Tried to use
setvar(‘variable’,remainingtablespace(true))
and the to reutilize this value to set a fixed heigth object
with
remainingtablespace(true))-getvar(‘variable’)
but with no success (variable has always the same value of the remainingtablespace(true)).

Some help?