We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Question about addAutoShape

IShape shp = sld.getShapes().addAutoShape(ShapeType.Rectangle, 50, 150, 150, 50);

The code above specifies adding a shape at a specific position and height/width. My question is for the position coordinates, do the 50 and 150 have any correlation with what PowerPoint does when formatting a position and specifying it should be this many inches from the top left corner? Ex. When I specify 50 as the x position, is that the same as saying 0.75 inches from the top left corner?

@ashwin.sundaram,

I have observed your comments. I like to share that its 50 pixels and you should know your DPI for this calculation. Please share feedback with us if you have another issue.