Does anyone now how to or is it possible set the alignment (cxnter) of text in an epishape.
I see there is the property .Appearance.TextVAlign and Appearance.TextHAlign, setting them to VAlign.Middle and HAline.Center. It just doesn’t appear to do anything.
Alignment works with epilabel, can’t seem to get it to work in a similar fashion with epishape. I’m assuming it’s a limitation of the component, happy to be told different.
I had my shape as multiline so the string enabled caption was
enabledCaption = “Line 1” + Environment.NewLine + “Line 2”; using this method it just left justifies.
Hi @NateS sorry that last image was after I added some spaces. I’ve Commented out the line that makes the text look the above image. I hope that’s a bit clearer for you.
I see the problem. I tried a bunch of syntax variations as well and couldn’t get the text to center, only left justify. Curious if you find a solution!
The only way I got it to work was adding spaces to pad things out. Clunky but once it’s done it’s done, although doing it dynamically would be simpler in the long run.