Free Support Forum - aspose.com

Custom Shape Bug

Hi,

I’ve created (not in Aspose, but in Visio) a custom shape made of two basic shapes grouped together and saved it in a new stencil. When I try to use this shape with Aspose, the custom shape does not modify its size according to my width and height. The group did change its size, but the basic shapes didn’t.

I have attached the stencil, my code, my visio result and a picture of what i expected it to look like.

CustomShapeBug.zip (216.3 KB)

@dragos.petrescu,
We managed to replicate the said behavior of shape sizes. It has been logged under the ticket ID DIAGRAMJAVA-50531 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

Best Regards,
Imran Rafique

@dragos.petrescu,
The ticket ID DIAGRAMJAVA-50531 has been resolved. If there is no issue in the quality assurance phase, then this fix will be included in the next version 17.8 of Aspose.Diagram for Java API. We will notify you once it is fixed.

Best Regards,
Imran Rafique

@dragos.petrescu,
The ticket ID DIAGRAMJAVA-50531 has been fixed. Please download and try the new version 17.8 of Aspose.Diagram for Java API.

Best Regards,
Imran Rafique