I am fetching value/dimensions/size of a shape and text with following code :
For font size : IAutoShape iAutoShape = (IAutoShape) shape; iAutoShape.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0).getPortionFormat().getEffective().getFontHeight()
For shape height : shape.getHeight()
It works fine. I want to know two things :
Value/numbers which I am getting while fetching the font size belongs to which unit like pixel, cm, or inch, etc?
Value/numbers which I am getting while fetching the shape dimensions(Height, width, x, y) belongs to which unit like pixel, cm, or inch, etc?