It appears from some experiments I performed and from reading this page that the default units of measurement of the column width and row height in Excel are not pixels or even the standard metric such as centimeters but they are the number of characters that will fit in the space.
I am using Aspose Cells for Java. How do I get the width of a column in pixels?
Well, you may try to use Cells.getColumnWidthPixel() to get a column's width in the units of pixel, see the sample code for your reference. e.g Sample code:
Similarly you may try to use Cells.getRowHeightPixel() to get the row height in pixel.
I am working as Support developer/ Evangelist at Aspose.