Visio Conversion to PDF - Format A3 Portrait

Dear Colleagues

We are having a problem with the conversion of a visio “Test Document.vsdx” document to a pdf file. In the Visio file the format is A3 portrait, but in the PDF it is a wrong format, probably because of the cross-functional flowchart in it. With other element it is working fine.

Could you please check the attached file.

Thanks.

Kind regards.
Marc Huber
Test Document.zip (79.4 KB)

@marchuber

We have used the below code snippet to specify the output PDF Page size as A3.

Aspose.Diagram.Diagram diagram = new Aspose.Diagram.Diagram(dataDir + "Test Document.vsdx");
Aspose.Diagram.Saving.PdfSaveOptions pdfSaveOptions = new Diagram.Saving.PdfSaveOptions() { Compliance = Diagram.Saving.PdfCompliance.PdfA1a, PageSize = new Diagram.Saving.PageSize(Diagram.Saving.PaperSizeFormat.A3) };
diagram.Save(new FileStream(dataDir + "Test_Document.pdf", FileMode.Create, FileAccess.ReadWrite), pdfSaveOptions);

Could you please check the attached PDF document and let us know in case you notice any issue in it.

Test_document.pdf (34.9 KB)