private void InitializeDocument(String name) { output = OUT + name + ".pdf"; document = new Document(); copy = new PdfCopy(document, new FileStream(output, FileMode.Create)); copy.SetTagged(); document.Open(); }