Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add superscript and subscript to RunProperties #151

Closed
alexkowalenko opened this issue Jan 25, 2018 · 2 comments
Closed

add superscript and subscript to RunProperties #151

alexkowalenko opened this issue Jan 25, 2018 · 2 comments

Comments

@alexkowalenko
Copy link

alexkowalenko commented Jan 25, 2018

Description

Add the ability to change the text formatting to superscript and subscript.

Expected Behavior

The text will have super and subscripts.

Actual Behavior

There seems to be no way to do this. Can't find a function call on RunProperties that supports this. I imagine that it would like something like SetBold(bool).

@tbaliance tbaliance self-assigned this Jan 25, 2018
tbaliance added a commit that referenced this issue Jan 25, 2018
@tbaliance
Copy link
Contributor

Once this is merged in, you can do something like:

run.Properties().SetVerticalAlignment(sharedTypes.ST_VerticalAlignRunSuperscript)

@alexkowalenko
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants