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

Free Support Forum - aspose.com

PageSetup.PageHeight Property. What is Unit?

Hi, I’m making the manual scalling of images to pdf output. I use the System.Drawning.Image to get the actual size of image in pixel. Then I need increase or reduce the size of Image to pdf. How can I get the size of Pdf section in pixel. The PageSetup.PageHeight doesn’t look as pixel. What is the unit?
How can I convert it to pixel?


Thank you for considering Aspose.

The unit is point. 1inch = 72points. You can convert point to inch and then convert inch to pixel according to the DPI of the image.