devxlogo

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.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Five Early Architecture Decisions That Quietly Get Expensive

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.