How can I use UiPath with C# Invoke Code to open a Word document and insert "Hello World" with center alignment?

This quote literally entered as a prompt in ChatGPT:

I didn’t validate the code (simply too lazy) but it should give you a decent code snip to work with.