Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 PHPExcel 库在 PHP 中生成一个 Excel 文件。我在工作表中放置了一张图片。
$objDrawing->setWidthAndHeight(100,100);
绘图对象的高度和宽度的尺寸是多少(是%,像素,毫米,厘米)?
感谢帮助。
这是重点。 1 点 = 1/72 英寸。 1 英寸 = 72 点 1 点 = 0.035 厘米(或 0.35 毫米)
这是重点。
1 点 = 1/72 英寸。 1 英寸 = 72 点 1 点 = 0.035 厘米(或 0.35 毫米)
未经检查,我相信它是像素,在转换为 Excel 相当古怪的内部单位时假设为 72dpi。