Free Support Forum -

How can i set the width of a TextframEx in PPTX?


I have been writing code inorder to get a PPTX output. Previously i have used PPT.

For PPT:

Textframe.Width exists and i used to set the width of the textframe.

but for


TextframeEx doesnot have a property to set its width.

Kindly let me know how i can set width for a Texframe.

Hi Koundinya,

I have observed the requirements shared by you and like to share that width and height of the text frame is actually the property of the shape. You can set the width or height of the text frame on Shape level. You can set the text frame height using AutoShapeEx.Width and AutoShapeEx.Height properties.

Many Thanks,