开发者

Hide text in PDF when printing

Is it possible to write some text in a PDF (more specifically a link), that will not be printed when sent to a printer, but only be shown in a screen reader?

If it's possible the开发者_Python百科n any pointers to PDF writing .NET libraries that might have this as a feature is very welcome.


There are at least two ways to achieve such an effect with PDF:

  1. put the link or any element you do not want to print on a separate layer (in PDF spec lingo: "optional content") and set this layer as non-printable;
  2. put the link into the PDF as an "annotation" and set this annotation as non-printable.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜