Finding Column and/or Row Height

Finding Column and/or Row Height

Question:
I have a column that is set to Autosize Height. I would like to find the column height for this column on each row after the data has been placed in it and it has been autosized.

Answer:
You can use the RowHeight() function inside the datawindow painter to return how high the detail band is. This can be used in conjunction with the y2 property of a line to make the size of the line autosize to match the height of the band.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist