星火微课系统客户端
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.

4 年之前
4 年之前
4 年之前
4 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. private string _type;
  22. /// <summary>
  23. /// 页码
  24. /// </summary>
  25. public int PageNum { get => _PageNum; set => _PageNum = value; }
  26. /// <summary>
  27. /// 页编号
  28. /// </summary>
  29. public string PageCode { get => _pageCode; set => _pageCode = value; }
  30. /// <summary>
  31. /// 页面图片路径
  32. /// </summary>
  33. public string PageImagePath { get => _pageImagePath; set => _pageImagePath = value; }
  34. /// <summary>
  35. /// 图片坐标
  36. /// </summary>
  37. public TranslateTransform ImageLocation { get => _ImageLocation; set => _ImageLocation = value; }
  38. ///// <summary>
  39. ///// 图片大小
  40. ///// </summary>
  41. //public ScaleTransform ImageSize { get => _ImageSize; set => _ImageSize = value; }
  42. /// <summary>
  43. /// PDF 图片路径
  44. /// </summary>
  45. public string PdfImagePath { get => _pdfImagePath; set => _pdfImagePath = value; }
  46. /// <summary>
  47. /// 坐标是否固定
  48. /// </summary>
  49. public bool IsImageLocation { get => _IsImageLocation; set => _IsImageLocation = value; }
  50. /// <summary>
  51. /// true 文档图片 folse 截图图片
  52. /// </summary>
  53. public bool ImgDocumentation { get => _imgDocumentation; set => _imgDocumentation = value; }
  54. public ScaleTransform ImageSizes { get => _ImageSizes; set => _ImageSizes = value; }
  55. /// <summary>
  56. /// ppt word
  57. /// </summary>
  58. public string Type { get => _type; set => _type = value; }
  59. ///// <summary>
  60. ///// 笔颜色 十六进制
  61. ///// </summary>
  62. //public string PenColor { get => _PenColor; set => _PenColor = value; }
  63. ///// <summary>
  64. ///// 线宽
  65. ///// </summary>
  66. //public int PenWigth { get => _PenWigth; set => _PenWigth = value; }
  67. ///// <summary>
  68. ///// 笔迹 暂无
  69. ///// </summary>
  70. //public List<PointF> Handwriting { get => _Handwriting; set => _Handwriting = value; }
  71. }
  72. }