I would like to set the font “Calibri (Body)” and the same font size for the entire workbook. not matter what was predefine.
for some reason, when I’m using that code (and this one is the last action before saving the file):
(from this thread)
var style = workbook.CreateStyle(); Font font = style.Font; font.Name = "Calibri (Body)"; font.Size = 14; workbook.DefaultStyle = style;
I got some mix between a few fonts and sizes. (attached here excel and pdf )
any idea what I can do to set the workbook to be always with the same font and size?
Calibri is some special font and I should configure this ? (I can see there are rows with the
Calibri so not sure if this is the correct path)
font out example pdf an excel.zip (222.8 KB)