Yes, that fixed it. Thank you. I have a different question about the excel to pdf conversion.
After converting excel to pdf, I need to insert a heading, but as you can see it on the attached image, it runs into the table: image.png (31.6 KB)
Here is my insertion code:
Aspose.Pdf.Document doc4 = new Aspose.Pdf.Document(outputPath);
var pg = doc4.Pages;
Heading title = new Heading(1);
title.Text = “Equipment Schedules”;
title.HorizontalAlignment = HorizontalAlignment.Center;
title.TextState.FontSize = 30;
title.Margin = new MarginInfo(0, 30, 0, 0);
As you can see, I am trying to set a bottom margin, but that doesn’t seem to help.
Examining pg variable in debugger, it does not have any paragraphs except for title, but a lot of things in the Contents collection.