IParagraph.GetRect returns wrong value for height

Hi Team,

Aspose Version: 20.1, C#

IParagraph.GetRect return wrong value for height, slightly lesser than actual

Code SnapShot:

var paraRect = curPara.GetRect();

Rectangle finalRect = new Rectangle();
finalRect.X = (int)(curAutoShape.X);
finalRect.Y = (int)(curAutoShape.Y + paraRect.Y);

finalRect.Width = Math.Max(1, (int)(paraRect.Width));
finalRect.Height = Math.Max(1, (int)(paraRect.Height));

sample.zip (222.2 KB)
Please share your thoughts

~ Praveen

Thank you for your query. Could you please clarify what paragraph you got the incorrect height for?

Hi @Andrey_Potapov

Thanks for your response,

Below is a paragraph that seems to be having issues

Paragraph.png (3.8 KB)

~ Praveen

Thank you for the additional information. I reproduced the error and logged the issue in our tracking system with ID SLIDESNET-42582. Our development team will investigate this case. You will be notified when it is fixed.

Thanks @Andrey_Potapov

Is there an ETA for resolution of this bug?

Meanwhile, is there a workaround that can be used?

~ Praveen

The issue investigation has been planned to begin next week. Unfortunately, I don’t see the workaround for this case. We apologize for any inconvenience caused.

Hi @Andrey_Potapov

It seems the issue has been resolved as per the latest update on this blog. Is there a timeline for release for this fix?

Issues Status

SLIDESNET-42582 ---- Status : Resolved

You are right, the issue has been resolved. The fix will be released in Aspose.Slides 21.6.

Great thanks…

Do we have a ETA for release of Aspose 21.6?

Aspose.Slides 21.6 will be released in the second half of June.

1 Like

The issues you have found earlier (filed as SLIDESNET-42582) have been fixed in this update.