BindImage

BindImage(string)

将图像设置为印章。

public void BindImage(string imageFile)
范围类型描述
imageFileString图像文件名和路径。

例子

PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", "output.pdf");
Stamp stamp = new Stamp();
stamp.BindImage("image.jpg");
fileStamp.AddStamp(stamp);
fileStamp.Close();

也可以看看


BindImage(Stream)

设置将用作图章的图像。

public void BindImage(Stream image)
范围类型描述
imageStream包含图像数据的流。

也可以看看