Free Support Forum - aspose.com

How do I edit the font in an autoshape

Hi,

I am assigning a text value of an autoshape here...

slides(0).Shapes(0).TextFrame.Text = "Hello"

How can I alter the font and make it bold?

Thanks.

Todd

The simple answer is:

TextFrame.Paragraphs(0).Portions(0).FontBold = True

For details please check demos and read Programmer’s Guide.

Thanks!

Todd