We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

The wrong page size of generated PDF after vsd to pdf conversion

The PDF generated as a result of vsd to pdf conversion using Aspose.Diargam .NET 4.4.0 (also with 4.3.0) has wrong page size. There is a white area on the top increasing the height of first page of generated PDF file FirstPageProblem.pdf. A similar white area is added on the right side increasing the width of the first page of generated 3Page_Portrait_V2010.pdf. Both vsd and pdf versions of the mentioned files are attached.

Aspose.Diagram.Diagram doc = new Aspose.Diagram.Diagram( srcFilePath );
Aspose.Diagram.Saving.PdfSaveOptions saveopts = new Aspose.Diagram.Saving.PdfSaveOptions();
saveopts.SaveFormat = Aspose.Diagram.SaveFileFormat.PDF;
saveopts.Compliance = Aspose.Diagram.Saving.PdfCompliance.Pdf15;
doc.Save( destFilePath, saveopts );


Hi Elena,


Thank you for contacting support. We managed to replicate the said issues. These issues have been logged as follows:

DIAGRAMNET-50229 - VSD to PDF conversion, incorrect page height
DIAGRAMNET-50230 - VSD to PDF conversion, incorrect page width

Your request has also been linked to these issues. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenienced you faced.

Hi Elena,

Thank you for being patient. We have a good news for you that the issue ids DIAGRAMNET-50229 and DIAGRAMNET-50230 have now been resolved. If there is no issue in the QA phase, then these fixes will be included in the next version of Aspose.Diagram for .NET 4.5.0. Its release date is not final yet. We'll inform you via this forum thread as soon as the new release is published.

The issues you have found earlier (filed as DIAGRAMNET-50229;DIAGRAMNET-50230) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.