में मेटाडाटा सेट करें मैं एक एप्लिकेशन विकसित कर रहा हूं और मैं iTextSharp लाइब्रेरी का उपयोग करता हूं।iTextSharp
मैं मैनिंग से कार्रवाई में iText भी पढ़ रहा हूं इसलिए मुझे संदर्भ मिल सकते हैं।
अध्याय 12 में जावा में मेटाडेटा बदलने के लिए निम्न कोड है।
PdfReader reader = new PdfReader(src);
PdfStamper stamper =
new PdfStamper(reader, new FileOutputStream(dest));
HashMap<String, String> info = reader.getInfo();
info.put("Title", "Hello World stamped");
info.put("Subject", "Hello World with changed metadata");
info.put("Keywords", "iText in Action, PdfStamper");
info.put("Creator", "Silly standalone example");
info.put("Author", "Also Bruno Lowagie");
stamper.setMoreInfo(info);
stamper.close();
मैं सी # में ऐसा कैसे कर सकता हूं?
है। आपके उत्तर के लिए बहुत बहुत धन्यवाद :) –