Hey,
I'm trying to change font size in table and seems like it doesn't work
Did I miss something?
WTable table = new WTable(document);
var row = table.AddRow();
var cell = row.AddCell();
var p = cell.AddParagraph().AppendText("Наименование");
I'm using Blazor Server side app
Hey,
I'm trying to change font size in table and seems like it doesn't work
Did I miss something?
WTable table = new WTable(document);
var row = table.AddRow();
var cell = row.AddCell();
var p = cell.AddParagraph().AppendText("Наименование");
I'm using Blazor Server side app
Syncfusion.Blazor Version="18.3.0.35"
Syncfusion.DocIO.Net.Core Version="18.3.0.35"
Thanks in advance
Thanks in advance
WordDocument document = new WordDocument();
WTable table = new WTable(document);
var row = table.AddRow();
var cell = row.AddCell();
var p = cell.AddParagraph();
IWTextRange textRange = p.AppendText("Наименование"); //Change the font size
textRange.CharacterFormat.FontSize = 10; |
// Set up table
WTable table = new WTable(document);
var row = table.AddRow();
//row.IsHeader = true;
var cell = row.AddCell();
//cell.Width = 96f;
var p = cell.AddParagraph();
var textRange = p.AppendText("Наименование и краткая характеристика товара");
textRange.CharacterFormat.FontSize = 20;
//Replaces the table placeholder text with a new table
TextBodyPart bodyPart = new TextBodyPart(document);
bodyPart.BodyItems.Add(table);
document.Replace("{singleTable}", bodyPart, true, true,false); |