PptxGenJS
PptxGenJS copied to clipboard
[FEATURE] How can I center a text element both vertically and horizontally?
How can I center a text element both vertically and horizontally? I know that I can set the width of the text to 50%, but I don't want to fix the width of the text. I want to dynamically calculate the width of the text and then offset the text to the left by half the width of the text. I'm not sure if pptxgenjs supports this?