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

Free Support Forum - aspose.com

Aspose.slide resizing shapes in output


As a resolution to one of my problem, i migrated from using Aspose.slides 5.4v to aspose 7.4v
I realized that in the output the size of some of the shapes are changed as compared to what is set in the template.

I am attaching a ppt which shows the problem.

Hi Pankaj,

I have observed the presentation file shared by you and the only resizing issue that I have observed is attached in image with red encircled. If this the issue you are referring to as issue. I would first suggest you to please try using Aspose.Slides for .NET 7.6.0 on your end. If there is still an issue then please share the sample application with us that I may use on end to achieved the desired presentation and reproducing the issue.

Many Thanks,

I have tried Aspose 7.6v too and still having the same issue.

I am attaching the class file and template i am using.

Hi Pankaj,

I have worked with the sample code shared. Please try using following sample code on your end to serve the purpose. Please share, if I may help you further in this regard.

case “KP10”:
string threshold = GetThreshold(“Fix”, “Monitor”, “KDAverage”);
((AutoShapeEx)shape).TextFrame.Text = threshold;
((AutoShapeEx)shape).TextFrame.AutofitType = TextAutofitTypeEx.Normal;

// shape.Height = 0.70f;

Many Thanks,

Thanks a lot.

This worked.