Files
2024-04-23 10:16:16 +08:00

75 lines
1.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Drawing;
using JNPF.DependencyInjection;
namespace JNPF.Common.Models.NPOI;
/// <summary>
/// Excel导出配置
/// 版 本V3.0.0
/// 版 权引迈信息技术有限公司https://www.jnpfsoft.com
/// 作 者JNPF开发平台组
/// 日 期2017.03.09.
/// </summary>
[SuppressSniffer]
public class ExcelConfig
{
/// <summary>
/// 文件名.
/// </summary>
public string? FileName { get; set; }
/// <summary>
/// 标题.
/// </summary>
public string? Title { get; set; }
/// <summary>
/// 标题字号.
/// </summary>
public short TitlePoint { get; set; }
/// <summary>
/// 标题高度.
/// </summary>
public short TitleHeight { get; set; }
/// <summary>
/// 标题字体.
/// </summary>
public string? TitleFont { get; set; }
/// <summary>
/// 字体景色.
/// </summary>
public Color ForeColor { get; set; }
/// <summary>
/// 背景色.
/// </summary>
public Color Background { get; set; }
/// <summary>
/// 列头字号.
/// </summary>
public short HeadPoint { get; set; }
/// <summary>
/// 列标题高度.
/// </summary>
public short HeadHeight { get; set; }
/// <summary>
/// 列头字体.
/// </summary>
public string? HeadFont { get; set; }
/// <summary>
/// 是否按内容长度来适应表格宽度.
/// </summary>
public bool IsAllSizeColumn { get; set; }
/// <summary>
/// 列设置.
/// </summary>
public List<ExcelColumnModel>? ColumnModel { get; set; }
}