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

Free Support Forum - aspose.com

Coordinates and Size Issues

I’m evaluating ASPOSE Slides for .NET for a client and have been tasked to create a demo with several images and text.

The problem with the final output is that the coordinates and scaling are off. I’m assuming that all the x- and y-coordinates, width and height values are in pixels. However, when I query the width using the currentSlide.Background.Width property, and the height using the currentSlide.Background.Height property, I get a value of 5760 and 4320 respectively.

How do those numbers correspond to the actual page width and height?

Any help with this issue would be greatly appreciated.


Thanks,
Ehsan

Dear Ehsan,

Thanks for considering Aspose.

Aspose.Slides measure slide size in pixels and there are 576 pixels per inch. So if slide is 10 inches wide then Aspose.Slides will return you 5760 in width and if it is 7.5 inches high, then Aspose.Slides will return you 4320 in height.