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

Free Support Forum - aspose.com

Unit of measure bug

Hi,

I created two squares, one with the width of 1 inch and one with the width of 1 point. They look exactly the same, when the first square should be a lot bigger than the second, as one inch is 72 times bigger than 1 point.
I attached my source, the result i got and what i expected.

Thanks

MeasureUnitSampleCode.zip (897 Bytes)
expected.png (2.2 KB)
obtained.png (2.3 KB)

@dragos.petrescu,
We managed to replicate the problem of incorrect shape size. It has been logged under the ticket ID DIAGRAMJAVA-50528 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates. We are sorry for the inconvenience caused.

Best Regards,
Imran Rafique

@dragos.petrescu,
The ticket ID DIAGRAMJAVA-50528 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-50528 has been fixed. Please download and try the new version 17.8 of Aspose.Diagram for Java API.

Best Regards,
Imran Rafique