Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142490 | Feb 6,2019 10:36 AM UTC | Feb 15,2019 05:47 AM UTC | ASP.NET Web Forms | 11 |
![]() |
Tags: DocIO |
textRange = table[fornituraHwSw.Count + 1, 0].AddParagraph().AppendText("TOTALE"); table[fornituraHwSw.Count + 1, 0].Paragraphs[0].ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Center;
IWParagraph para = table[0, 0].AddParagraph();
para.ParagraphFormat.HorizontalAlignment = Syncfusion.DocIO.DLS.HorizontalAlignment.Center; |
Hi,I use this code to insert text into a table cell, but the alignment remains justified.textRange = table[fornituraHwSw.Count + 1, 0].AddParagraph().AppendText("TOTALE"); table[fornituraHwSw.Count + 1, 0].Paragraphs[0].ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Center;
textRange = table[fornituraHwSw.Count + 1, 0].AddParagraph().AppendText("TOTALE");
textRange.OwnerParagraph.ParagraphFormat.HorizontalAlignment = HorizontalAlignment.Center; |
table.ApplyHorizontalMerge(fornituraHwSw.Count + 1, 0, 1);
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.