简体   繁体   中英

generate black and white pdf using iText

Can anyone help me to generate black and white pdf using iText. By default iText generate color pdf, now i want to generate black and white pdf. Can i..?

you can set brush color to black thus black text will appear . support for the same has been given by itextsharp on following URL

http://www.mikesdotnetting.com/Article/88/iTextSharp-Drawing-shapes-and-Graphics

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM