I'm dynamically creating shapes and adding them to my slide. Some of these can not be achieved using Rectangle and Ellipse e.g. Diamond and Stars so I am using a Polygon generated from A GraphicsPath to create these. All shapes have a TextFrame containing a label and I am using TextFrame.FitShapeToText to scale the shapes down/up to the size of the text.
The problem arises for custom polygons. Unlike rectangles/ellipses the aspect ratio of these shapes is essential and FitShapeToText has some interesting effects on the shape, size and location of text in custom shapes.
So two questions...
1) How to apply LockAspectRatio to a shape
2) Anybody else had any experiencing with positioning text inside custom shapes and can give any pointers on the wierd effects that occur.
Thanks in advance