Files
tnb.server/common/Tnb.Common/Models/NPOI/ExcelColumnModel.cs
2024-04-23 10:16:16 +08:00

62 lines
1.3 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 ExcelColumnModel
{
/// <summary>
/// 列名.
/// </summary>
public string? Column { get; set; }
/// <summary>
/// Excel列名.
/// </summary>
public string? ExcelColumn { get; set; }
/// <summary>
/// 宽度.
/// </summary>
public int Width { get; set; }
/// <summary>
/// 前景色.
/// </summary>
public Color ForeColor { get; set; }
/// <summary>
/// 背景色.
/// </summary>
public Color Background { get; set; }
/// <summary>
/// 字体.
/// </summary>
public string? Font { get; set; }
/// <summary>
/// 字号.
/// </summary>
public short Point { get; set; }
/// <summary>
/// 对齐方式
/// left 左
/// center 中间
/// right 右
/// fill 填充
/// justify 两端对齐
/// centerselection 跨行居中
/// distributed.
/// </summary>
public string? Alignment { get; set; }
}