How to calculate the correct dimensions of an arrow drawing?


Please look at the attached document using Aspose.Cells and notice that the height of the arrows appears as 0. Please advise me on how to calculate the actual height of the arrows, which according to the image created from a call to the Shape.ToImage method should be 18px. (7.4 KB)



Thanks for the template file.

I opened your file into MS Excel manually and check shapes properties, the height of the shape is “0”, see the screenshot for your reference:

Does Aspose.Cells give different value for height of the shape ? I am not sure whats’ wrong with it or what is your issue, kindly elaborate with more details, sample code and screenshots, we will check it soon.