我试图插入一个图像,以取代粘性笔记上的pdf。然而,我有一个问题,就是贴纸的位置是确定的,但是当图像被插入时,它就不在那里了。FileMode.Open, FileAccess.Read, FileShare.Read); catch { }
}
//remove all sticky notes in output p
我传递垂直方向(595.0x842.0) pdf,并将方向pdf改为水平方向(842.0x595.0),但当我返回ByteArrayOutputStream作为ByteArray时,我尝试读取这个ByteArray要编写新内容,我使用PdfWriter,并发送具有新大小的Document和作为第二个参数的ByteArrayOutputStream。PdfReader reader = new PdfReader(pdf.getFile());
ByteArrayOutputStream outputStream = new