using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; namespace XHWK.Model { /// /// 画板模型 /// public class Model_DrawData { private int _PageNum; private string _pageCode; private string _pageImagePath; private TranslateTransform _ImageLocation=new TranslateTransform(0,0); //private ScaleTransform _ImageSize = new ScaleTransform(0, 0); private ScaleTransform _ImageSizes = new ScaleTransform(0, 0); private bool _IsImageLocation; //private string _PenColor; //private int _PenWigth; //private List _Handwriting; private string _pdfImagePath; private bool _imgDocumentation; /// /// 页码 /// public int PageNum { get => _PageNum; set => _PageNum = value; } /// /// 页编号 /// public string PageCode { get => _pageCode; set => _pageCode = value; } /// /// 页面图片路径 /// public string PageImagePath { get => _pageImagePath; set => _pageImagePath = value; } /// /// 图片坐标 /// public TranslateTransform ImageLocation { get => _ImageLocation; set => _ImageLocation = value; } ///// ///// 图片大小 ///// //public ScaleTransform ImageSize { get => _ImageSize; set => _ImageSize = value; } /// /// PDF 图片路径 /// public string PdfImagePath { get => _pdfImagePath; set => _pdfImagePath = value; } /// /// 坐标是否固定 /// public bool IsImageLocation { get => _IsImageLocation; set => _IsImageLocation = value; } /// /// true 文档图片 folse 截图图片 /// public bool ImgDocumentation { get => _imgDocumentation; set => _imgDocumentation = value; } public ScaleTransform ImageSizes { get => _ImageSizes; set => _ImageSizes = value; } ///// ///// 笔颜色 十六进制 ///// //public string PenColor { get => _PenColor; set => _PenColor = value; } ///// ///// 线宽 ///// //public int PenWigth { get => _PenWigth; set => _PenWigth = value; } ///// ///// 笔迹 暂无 ///// //public List Handwriting { get => _Handwriting; set => _Handwriting = value; } } }