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)