Product: PDFNet SDK Trial
Product Version: 9.4.2
Please give a brief summary of your issue:
(Think of this as an email subject)
When converting a DOCX to PDF the graphic in the header is cutoff.
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Calling DocxToPdf() to convert the file.
Please provide a link to a minimal sample where the issue is reproducible:
Hi Brandon,
To investigate further could you please provide the following information.
- Input file(s)
- Generated output file(s)
- Code and settings used to generate (2) from (1)
- Screenshots showing the output, and clearly indicating what you expected to get instead, and also clearly indicating the application/browser being used to view.
I opened a ticket #44389 Trial Technical Support Inquiry [ID: 492624173342422]. The test input and output files are attached to this ticket. Here is code and settings:
…
private static pdftron.PDFNetLoader loader = pdftron.PDFNetLoader.Instance();
private const string DEMO_KEY = “demo:xxxxxxx:xxxxxxxxxxxxxxxxxx”;
private string _sourcePath;
private string _destinationPath;
public bool ConvertToPdf()
{
try
{
using (PDFDoc pdfdoc = new PDFDoc())
{
// perform the conversion with no optional parameters
pdftron.PDF.Convert.OfficeToPDF(pdfdoc, _sourcePath, null);
// save the result
pdfdoc.Save(_destinationPath, SDFDoc.SaveOptions.e_linearized);
}
} catch (Exception ex)
{
return false;
}
return true;
}
…