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

Free Support Forum - aspose.com

Shape size is coming very large while copying from a Visio Document in PDF format

Hello

I am using aspose Diagram for java version 5.9.0

when i try to copy a shape from one visio file to PDF format by cloining to new Visio Diagram,Shape is coming very much zoomed.

Please refer to the source file and output pdf file.

Regards
Shubhi

Hi Shubhi,


Thank you for contacting support. Please note, the page size of the source Visio and page size of the new diagram are not same. However, we can manage zoom level by setting the drawing scale property before saving the resultant PDF as follows:

[Java]
newDiagram.getPages().getPage(“newpage”).getPageSheet().getPageProps().getDrawingScale().setValue(1.23);
newDiagram.save(“E:\Practice\asposeprac\asposeDiagram\ShapeOutput.pdf”, SaveFileFormat.PDF);

Please let us know in case of any ambiguity or questions.