Unit of (x-y) when addAutoShape() in com.aspose.slides.IShapeCollection

In below function of com.aspose.slides.IShapeCollection, what’s unit of x, y, width, height?

Is it pixel, inch, cm or others?

IAutoShape addAutoShape(
int shapeType,
float x,
float y,
float width,
float height)

Thanks

Drizzle

Hi Drizzle,


Thank you for posting.

I have observed your comments and like to share with you that these values are in pixels, whereas, 72 pixels are equal to one inch.

I hope this will clarify the concept. Please share if I may help you further in this regard.

Best Regards,

Thanks you, Muhammad!

-Drizzle