When we currently are converting our visio diagrams to PDF we are using a desktop application which is able to split our very large diagrams into multiple pages, they have even added a created some overlap such that pages can be manually stitched together again. The visio file have information about the page size, and
I have tried setting the pagesize on the PdfSaveOptions to A4, this results in an A4 sized page, with the entire diagram located on page.
Therefor these two requests.
An easy way to change the pagesize to landscape orientation.
A method to have an oversized diagram exported on multiple pages, with overlap for later analogue re-assemble.
or a way to specify that it need to adhere to page size information in the visio file, with overlap. I am not sure that information is available in the visio file.
The code is very standard: (C#)
var d = new Diagram(input); var pdfso = new PdfSaveOptions(); pdfso.PageSize = new PageSize(842,595); //this is landscape size. A4=595 x 842 d.Save(output, pdfso);
Source vsd, and both wanted output and actual output pdf’s
aspose-multipage-pdf.zip (928.4 KB)