Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.
Mon Aug 11, 2025 1:10 pm
这是我现在的代码:
- Code: Select all
/**
* 绘制图片到PDF文档的指定页的指定位置
*
* @param pdfPageBase pdf页面
* @param bufferedImage 图片
* @param x x坐标
* @param y y坐标
* @param width 宽度
* @param height 高度
*/
public static void drawImage(PdfPageBase pdfPageBase,
float x,
float y,
float width,
float height,
BufferedImage bufferedImage) {
PdfImage pdfImage = PdfImage.fromImage(bufferedImage);
pdfPageBase.getCanvas().drawImage(pdfImage, x, y, width, height);
}
-

PiZhai09
-
- Posts: 13
- Joined: Mon Jul 14, 2025 7:14 pm
Tue Aug 12, 2025 3:31 am
您好,
关于您的将图片置于底层的需求,我已经将其记录在我们的产品更新系统中,追踪号SPIREPDF-5593。 我们的开发团队将进行进一步调查与开发。一旦有任何进展,我们将会第一时间通知您。
Sincerely,
Talia
E-iceblue support team
-


talia.liu
-
- Posts: 341
- Joined: Mon Apr 14, 2025 3:33 am