encrypt_pdf.txt

来自「iText可以制作中文PDF文件的JAVA源程序最新版下载」· 文本 代码 · 共 27 行

TXT
27
字号
PDF document encryptorusage: input_file output_file user_password owner_password permissions 128|40permissions is 8 digit long 0 or 1. Each digit has a particular security function:AllowPrintingAllowModifyContentsAllowCopyAllowModifyAnnotationsAllowFillIn (128 bit only)AllowScreenReaders (128 bit only)AllowAssembly (128 bit only)AllowDegradedPrinting (128 bit only)Example permissions to copy and print would be: 10100000You'll need iText to run it (http://www.lowagie.com/iText).Command line example:java -cp itext.jar com.lowagie.tools.encrypt_pdf input.pdf output.pdf "" master 10100000 128Author: Paulo Soares (psoares@consiste.pt)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?