What is the unit value return by the aspose slide java>

Hi,

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 :

  1. Value/numbers which I am getting while fetching the font size belongs to which unit like pixel, cm, or inch, etc?
  2. 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?

Thanks.

@saquibs

This is same value that you see in for any text in PowerPoint. The API allows to set the value of font height that is managed by PowerPoint.

Actually, Aspose.Slides has 72 pixels/inch. So any slide with Width (inch) x height (inch) 10 x 7.5 inches is transposed to 1072 x 7.572= 720 x 540.

I hope the shared elaboration will be helpful.