Free Support Forum - aspose.com

Creating dynamic Text in a Rectangle

Hello,

I create several Rectangle in a Slide
For Example :

foreach (Coord c in aList) {
Rectangle aRect = slide.Shapes.AddRectangle( c.x, c.y, c.width, c.height );
}

And i want to write Text in those Rectangle.
How can i do this ?

Thanks in advance

Regards

Tony

Dear Tony,

Please check Shape.AddTextFrame function.