Incorrect Value Is Returned in Case of Calling IParagraph.GetRect Method in C#

Aspose Version: 20.1
Language: C#

Incorrect value of height results in the cropped image.
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));

PFA pptx for it.
Any Suggestion?
sample (2).zip (1.2 MB)
sample (2).zip (1.17 MB)

@umesh95,
Thank you for the issue description. I reproduced the error and received the incorrect result. I’ve logged the issue in our tracking system with ID SLIDESNET-42550. Our development team will investigate this case. You will be notified when it is fixed.

Thanks Andrey…

Thanks,
Meanwhile, do you have an ETA and a suggested workaround to temporarily resolve this issue ?

@umesh95,
I requsted some ETA for this issue from our development team. I will let you know as soon as possible. A similar issue has been resolved in Aspose.Slides 21.5. Please check it.

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