we have recently upgraded to the latest version of aspose slides and there are many portions of the code that no longer work. I am addressing the issues one at a time, so here is the latest...
we have created a shape to which we have added text and formatting using paragraph, portion, and textframe. here is the line that causes the error...
the error says - "Aspose.Slides.IShape does not contain a definition for 'TextFrame' and no extension method 'TextFrame' accepting a first argument of type 'Aspose.Slides.IShape' could be found...
here is the code...
para = new Paragraph();
para.Portions.PortionFormat.FontHeight = 8;
para.Portions.PortionFormat.FillFormat.FillType = FillType.Solid;
para.Portions.PortionFormat.FillFormat.SolidFillColor.Color = fColor;
para.ParagraphFormat.Alignment = TextAlignment.Center;
can you help me add text that is formatted as it is in the above code and add it to a shape