Hello, after converting an HTML page to pdf there are some blank pages in there. is there a way i can remove the blank pages. Below is a sample of my code.
var finalDoc = new PdfDocument();
finalDoc.PageSettings.Size = PdfPageSize.A4;
System.IO.Stream[] streams = { stream1, stream2, stream3, stream4, stream5 };
PdfDocumentBase.Merge(finalDoc, streams);
finalDoc.Save(reportStream);
finalDoc.Close(true);
Please help. Thanks