When we are creating a large PDF file, we instantiate the pdf with a file stream like so
new Pdf(new FileStream());
With each section that we add to the Pdf, we use Section.AddParagraph(p); instead of Section.Paragraphs.Add(p);
Doing this causes any images that we add to the paragraph to not display. If we use the other way (Section.Paragraphs.Add(p)) and call Pdf.Save() instead of Pdf.Close(), the images display fine.
Is there anything we can do about this?
Thanks.