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

Free Support Forum - aspose.com

Scale Visio diagram issue

I’m trying to scale (resize) image generated by Aspose.Diagram. I have code which save document as HTML and then it saves again as a PNG image with 4x scale. Here is a sample code:
TestApp.zip (205.2 KB)

Steps to reproduce:

  1. Open project in VS and run it
  2. Choose a destination folder and press the button
  3. In the destination folder you will find two files:
    • output.html - file generated without any modifications (looks good)
    • resized.png - image with 4x scale (has a problem)

The problem with resized.png image is with its size. The content has been resized but the image size not, therefore the content is cropped. From my point of view when we scale image up, we should increase also size of the generated image to fit all content.
The same problem is when we use Resolution property instead of Scale.

If you need more questions, please let me know
Thanks

@ManMasterDevelopment
A ticket with an id DIAGRAMNET-53075 has been logged in our issue management system to check the feasibility of your requirements. We will look into its details and keep you posted with the status of ticket resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.