How to convert inch to pixel?

2021/01/30 14:36

Generally speaking, if the PPI (pixels per inch) of your device is 96, you can just use the following fomula to calculate the peixl.

Pixel = inch * PPI/DPI

Notes: PPI/DPI are essentially the same concept that how many dots exits in a inch.

While in Powerpoint, by default, the measurement unit is inch. But in Powerpoint VBA, the unit of height/width is Point. If you want to convert inch to Point, you can just multiply 72.

Point = Inch * 72

It’s pretty simple.

未经许可擅自转载或爬虫抓取Zuli's Blog网站内容,本站将直接取证向政府主管部门投诉并追责,同时在社交媒体公布侵权细节。本站将通过各种技术手段不定期检测侵权行为。

Leave a Reply

Back to top