We are trying to convert a Word document to a PDF. Some of the images inside of the document are landscape. Inside of the word doc, they are rotated 270 degrees to be in portrait orientation. After converting, the don't render correctly on the page. They are off center. If I manually save the image, rotate, and reinsert into the document, everything looks correct. Unfortunately, doing this isn't a long term option, as the documents are provided to us by a 3rd party.
I've attached some screenshots of the documents.
using (var converter = new DocIORenderer())
converter.Settings.ChartRenderingOptions.ImageFormat = ExportImageFormat.Jpeg;
converter.Settings.EmbedFonts = true;
converter.Settings.PreserveFormFields = true;
var pdfDocument = converter.ConvertToPDF(wordDocument);
using (var outStream = new FileStream(outfile, FileMode.Create))