Text direction to vertical in table cell #2721
Unanswered
atypical-atip
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to rotate text so that it is written vertically in a table cell instead of horizintally. In Word you can achieve this by using these settings:

How can I achieve it using docx js? I've searched documentation and their github repository and couldn't find a solution. I've tried to use this property of a TableCell:
textDirection: TextDirection.LEFT_TO_RIGHT_TOP_TO_BOTTOM,
which I found in this demo but it didn't give any result and I assume it's not meant to rotate a text.
Part of my code:
Beta Was this translation helpful? Give feedback.
All reactions