You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i am trying to write text as bold but no matter what i do, i cant see result bold.
bool bld = true; //same result for false
var cellProperties1 = new docx.TableCellProperties(new NoWrap { Val = OnOffOnlyValues.On });
var tableCell1Width = new docx.TableCellWidth { Type = docx.TableWidthUnitValues.Dxa, Width = "4000" };
cellProperties1.Append(new Bold() { Val = bld ? new OnOffValue { Value = true } : new OnOffValue { Value = false } });
cellProperties1.Append(tableCell1Width);
cellProperties1.Append(verticalMerge1);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
i am trying to write text as bold but no matter what i do, i cant see result bold.
bool bld = true; //same result for false
var cellProperties1 = new docx.TableCellProperties(new NoWrap { Val = OnOffOnlyValues.On });
var tableCell1Width = new docx.TableCellWidth { Type = docx.TableWidthUnitValues.Dxa, Width = "4000" };
cellProperties1.Append(new Bold() { Val = bld ? new OnOffValue { Value = true } : new OnOffValue { Value = false } });
cellProperties1.Append(tableCell1Width);
cellProperties1.Append(verticalMerge1);
Beta Was this translation helpful? Give feedback.
All reactions