var file = new FileStream("output.pdf", FileMode.Create);
using (var document = new Document())
{
PdfWriter writer = PdfWriter.GetInstance(document, file);
}
this is throwing null reference exception in my system
var file = new FileStream("output.pdf", FileMode.Create);
using (var document = new Document())
{
PdfWriter writer = PdfWriter.GetInstance(document, file);
}
this is throwing null reference exception in my system