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.
我正在使用 FOP 生成 pdf 文件。用于包含图像。我的要求是设置图像相对于页面大小的宽度和高度。
提前致谢。
仅将图像宽度设置为100%
100%
<img src="yourimage.jpg" width="100%"/>