The PDF converted from the attached RTF has an extra blank page (page 4). Using MS Word to save the the same RTF to PDF works fine without the blank page. Is there a way to avoid the blank page being generated?
821545002 CL1.zip (2.3 KB)
Below is the code for the conversion:
using var outputStream = new MemoryStream();
using (var converter = new Converter(() => content))
{
var options = new PdfConvertOptions();
converter.Convert(() => outputStream, options);
}
return outputStream.ToArray();