星火微课系统客户端
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Model_DrawData.cs 2.5KB

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