Understanding SlideSize

Hi,

We’re currently reviewing Aspose Slides for an upcoming project.

Looks pretty good so far, the initial test project are quite promising.

I’m struggling with one bit though:

What sort of units are SlideSize’s Height and Width properties expressed as?

On most of the sample ppt we’ve used it comes up as a rather big number.

Could someone shed some light on this?

Thanks!
Ben

Dear Ben,

Thanks for your interest in Aspose.Slides.

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

Thanks and Regards,

Hi Mudassir,

Thanks for the quick reply, much appreciated.

Makes sense now.

Didn’t see it in the FAQ. Maybe the docs would benefit from a note about this in the SlideSize Api reference page…

Thanks for your help

Ben