Setting slide table cell horizontal alignment

Can you please tell me how to set slide table cell horizontal alignment?

A table cell contains a TextFrame, which contains one or more Paragraphs. Each Paragraph can have a different horizontal alignment. This code will right align the text in Paragraph 0:

cell.TextFrame.Paragraphs[0].Alignment = TextAlignment.Right;