using (FileStream outFile = new FileStream("result.pdf", FileMode.Create)) { PdfReader pdfReader = new PdfReader("zapisnik-fillable.pdf"); PdfStamper pdfStamper = new PdfStamper(pdfReader, outFile); AcroFields fields = pdfStamper.AcroFields; fields.SetField("team_a_name", "mzt"); pdfStamper.FormFlattening = true; pdfStamper.Close(); pdfReader.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)