星火微课系统客户端
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

ModelDrawData.cs 2.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using System.Windows.Media;
  2. namespace XHWK.Model
  3. {
  4. /// <summary>
  5. /// 画板模型
  6. /// </summary>
  7. public class ModelDrawData
  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. }