public uint GetFont(IXlsxFont fontLayer) { XlsxFont layer = fontLayer as XlsxFont; if (layer == null) { throw new Exception("Unexpected Font Type"); } return(GetFont(layer.Size, layer.FontType.ToString(), XlsxFont.FontFamilyId, layer.Bold, layer.Italic, layer.UnderlineType, layer.ColorArgb)); }
public XlsxCell(object value, IXlsxFont font = null) { Value = value; Font = font; }