IsBackground

Stamp.IsBackground property

获取或设置后台状态。如果为 true,则标记将作为垃圾页面的背景。 默认设置为 false。

public bool IsBackground { get; set; }

例子

PdfFileStamp fileStamp = new PdfFileStamp("input.pdf", "output.pdf");
Stamp stamp = new Stamp();
stamp.BindLogo(new FormattedText("STAMP"));
stamp.IsBackground = true;
fileStamp.AddStamp(stamp);
fileStamp.Close();

也可以看看