Table Does Not Support TextFrameFormat.AutoFitType Property

If I set an AutoFitType property in an AutoShape TextFrame, this setting is reflected successfully in the output, but if I set the AutoFitType in a Table TextFrame it gets ignored and AutoFitType.Shape is always used in the output.

Code to reproduce, having imported Aspose.Slides 21.12:
var pres = new Aspose.Slides.Presentation();

var tableNone = pres.Slides.First().Shapes.AddTable(10, 10, new[] { 5d, 20, 110 }, new[] {5d,10,20});

for(var i = 0; i < tableNone.Rows.Count(); i++)
{
for(var j = 0; j < tableNone.Rows[i].Count(); j++)
{
tableNone[j,i].TextFrame.Paragraphs.Clear();
tableNone[j,i].TextFrame.TextFrameFormat.AutofitType = Aspose.Slides.TextAutofitType.None;

	tableNone[j,i].TextFrame.Text = "";
	tableNone[j,i].TextFrame.Paragraphs.Last().Text = "Test text test text";
}

}

var testRectangle = pres.Slides.First().Shapes.AddAutoShape(ShapeType.Rectangle, 200, 10, 20, 100);

testRectangle.TextFrame.TextFrameFormat.AutofitType = TextAutofitType.None;
testRectangle.AddTextFrame("");
testRectangle.TextFrame.Text = “Test text test text”;

pres.Save(@“C:\Temp\TableTestNone.pptx”, Aspose.Slides.Export.SaveFormat.Pptx);

@MMRGFW,
Thank you for contacting support.

I’ve performed some research. It looks like the table cells don’t support AutoFit options in PowerPoint documents as well. I was unable to affect this property in PowerPoint table.png (75.8 KB).

If I am wrong, please share a presentation file that contains the table with the desired view.

Ok, fair enough, if Powerpoint can’t do it that’s a good reason it doesn’t work. Thanks Andrey