I am trying to create a pdf file with iTextSharp. My attempt writes the content of the pdf to a MemoryStream so I can write the result both into file and a database BLOB. Th
documentobject.Close(); using (FileStream fs = System.IO.File.Create(path)){ Memorystreamobject.WriteTo(fs); }