BindImage
BindImage(string)
将图像设置为印章。
public void BindImage(string imageFile)
范围 | 类型 | 描述 |
---|---|---|
imageFile | String | 图像文件名和路径。 |
例子
PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", "output.pdf");
Stamp stamp = new Stamp();
stamp.BindImage("image.jpg");
fileStamp.AddStamp(stamp);
fileStamp.Close();
也可以看看
- class Stamp
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
BindImage(Stream)
设置将用作图章的图像。
public void BindImage(Stream image)
范围 | 类型 | 描述 |
---|---|---|
image | Stream | 包含图像数据的流。 |
也可以看看
- class Stamp
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF