using System.Xml.Serialization; using System.Collections.Generic; namespace SmartCoalApplication.Base.SettingModel { /// /// 设置 - 水印设置 /// [XmlRoot("ROOT")] public class WatermarkModel : ParentStyleModel { /// /// 类型 1.文字水印 2.图片水印 /// public int watermarkType { get; set; } /// /// 基本信息 - 水印文字/水印图片 /// public string content { get; set; } /// /// 水印位置 左顶,顶中,右顶,左中,居中,右中,左底,底中,右底 /// public int position { get; set; } /// /// 距边界值 /// public int margin { get; set; } /// /// 平铺水印 /// public int spread { get; set; } /// /// 透明度 /// public int transparency { get; set; } /// /// 方向 /// public int direction { get; set; } /// /// 字体 /// public string typeface { get; set; } /// /// 字号 /// public int fontSize { get; set; } /// /// 颜色 /// public int color { get; set; } /// /// 粗体 /// public int bold { get; set; } /// /// 斜体 /// public int italic { get; set; } } }