Tablecells horizontal aligne

Questions and answers on how to use DOCXReadWrite
Post Reply
hellroger
Posts: 6
Joined: Tue Oct 05, 2021 2:45 pm

Tablecells horizontal aligne

Post by hellroger »

Good afternoon community,
I need an additional support. Please can anybody tell me how I can aligne (center) the text into a table.

Thanks again for your support.

Roger
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Tablecells horizontal aligne

Post by larsa »

Hello

Format the paragraph. Example:

Code: Select all

  DOCX.Editor.Paras.Last.PAPX.Alignment := axptaCenter;
Lars Arvidsson, Axolot Data
hellroger
Posts: 6
Joined: Tue Oct 05, 2021 2:45 pm

Re: Tablecells horizontal aligne

Post by hellroger »

Dear Larsa,
Thank you for your answer. It works perfect.

Regards and nice We
Post Reply