using System.Drawing; using JNPF.DependencyInjection; namespace JNPF.Common.Models.NPOI; /// /// Excel导出配置 /// 版 本:V3.0.0 /// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com) /// 作 者:JNPF开发平台组 /// 日 期:2017.03.09. /// [SuppressSniffer] public class ExcelConfig { /// /// 文件名. /// public string? FileName { get; set; } /// /// 标题. /// public string? Title { get; set; } /// /// 标题字号. /// public short TitlePoint { get; set; } /// /// 标题高度. /// public short TitleHeight { get; set; } /// /// 标题字体. /// public string? TitleFont { get; set; } /// /// 字体景色. /// public Color ForeColor { get; set; } /// /// 背景色. /// public Color Background { get; set; } /// /// 列头字号. /// public short HeadPoint { get; set; } /// /// 列标题高度. /// public short HeadHeight { get; set; } /// /// 列头字体. /// public string? HeadFont { get; set; } /// /// 是否按内容长度来适应表格宽度. /// public bool IsAllSizeColumn { get; set; } /// /// 列设置. /// public List? ColumnModel { get; set; } }