Home > Net >  Aspose. The Word how to make the form in the document center
Aspose. The Word how to make the form in the document center

Time:10-06

Effect as shown in figure

CodePudding user response:

Builder. CellFormat. VerticalAlignment=CellVerticalAlignment. Center;//vertical center alignment
Builder. ParagraphFormat. Alignment=ParagraphAlignment. Center;//horizontal center alignment

CodePudding user response:

reference 1st floor nitaiyoucala response:
builder. CellFormat. VerticalAlignment=CellVerticalAlignment. Center;//vertical center alignment
Builder. ParagraphFormat. Alignment=ParagraphAlignment. Center;//level center alignment



Is the table in the middle, not centered text

CodePudding user response:

Aspose. Words. Name the Table Table=oWordApplic. StartTable ();
Form finished
Table. The Alignment=Aspose. Words. Tables. TableAlignment. Center;

CodePudding user response:

  • Related