星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. using System.Windows.Media;
  2. namespace XHWK.Model
  3. {
  4. /// <summary>
  5. /// 画板模型
  6. /// </summary>
  7. public class Model_DrawData
  8. {
  9. private int _PageNum;
  10. private string _pageCode;
  11. private string _pageImagePath;
  12. private TranslateTransform _ImageLocation = new TranslateTransform(0, 0);
  13. //private ScaleTransform _ImageSize = new ScaleTransform(0, 0);
  14. private ScaleTransform _ImageSizes = new ScaleTransform(0, 0);
  15. private bool _IsImageLocation;
  16. //private string _PenColor;
  17. //private int _PenWigth;
  18. //private List<PointF> _Handwriting;
  19. private string _pdfImagePath;
  20. private bool _imgDocumentation;
  21. /// <summary>
  22. /// 页码
  23. /// </summary>
  24. public int PageNum { get => _PageNum; set => _PageNum = value; }
  25. /// <summary>
  26. /// 页编号
  27. /// </summary>
  28. public string PageCode { get => _pageCode; set => _pageCode = value; }
  29. /// <summary>
  30. /// 页面图片路径
  31. /// </summary>
  32. public string PageImagePath { get => _pageImagePath; set => _pageImagePath = value; }
  33. /// <summary>
  34. /// 图片坐标
  35. /// </summary>
  36. public TranslateTransform ImageLocation { get => _ImageLocation; set => _ImageLocation = value; }
  37. ///// <summary>
  38. ///// 图片大小
  39. ///// </summary>
  40. //public ScaleTransform ImageSize { get => _ImageSize; set => _ImageSize = value; }
  41. /// <summary>
  42. /// PDF 图片路径
  43. /// </summary>
  44. public string PdfImagePath { get => _pdfImagePath; set => _pdfImagePath = value; }
  45. /// <summary>
  46. /// 坐标是否固定
  47. /// </summary>
  48. public bool IsImageLocation { get => _IsImageLocation; set => _IsImageLocation = value; }
  49. /// <summary>
  50. /// true 文档图片 folse 截图图片
  51. /// </summary>
  52. public bool ImgDocumentation { get => _imgDocumentation; set => _imgDocumentation = value; }
  53. public ScaleTransform ImageSizes { get => _ImageSizes; set => _ImageSizes = value; }
  54. ///// <summary>
  55. ///// 笔颜色 十六进制
  56. ///// </summary>
  57. //public string PenColor { get => _PenColor; set => _PenColor = value; }
  58. ///// <summary>
  59. ///// 线宽
  60. ///// </summary>
  61. //public int PenWigth { get => _PenWigth; set => _PenWigth = value; }
  62. ///// <summary>
  63. ///// 笔迹 暂无
  64. ///// </summary>
  65. //public List<PointF> Handwriting { get => _Handwriting; set => _Handwriting = value; }
  66. }
  67. }