Stamp.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using ComPDFKitViewer.AnnotEvent;
  2. using Prism.Mvvm;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace PDF_Office.Model.AnnotPanel
  9. {
  10. public class Stamp : BindableBase
  11. {
  12. private string stampText;
  13. public string StampText
  14. {
  15. get { return stampText; }
  16. set
  17. {
  18. SetProperty(ref stampText, value);
  19. }
  20. }
  21. private string sourcePath;
  22. public string SourcePath
  23. {
  24. get { return sourcePath; }
  25. set
  26. {
  27. SetProperty(ref sourcePath, value);
  28. }
  29. }
  30. private int maxWidth;
  31. public int MaxWidth
  32. {
  33. get { return maxWidth; }
  34. set
  35. {
  36. SetProperty(ref maxWidth, value);
  37. }
  38. }
  39. private int maxHeight;
  40. public int MaxHeight
  41. {
  42. get { return maxHeight; }
  43. set
  44. {
  45. SetProperty(ref maxHeight, value);
  46. }
  47. }
  48. private StampType type;
  49. public StampType Type
  50. {
  51. get { return type; }
  52. set
  53. {
  54. SetProperty(ref type, value);
  55. }
  56. }
  57. private string author;
  58. public string Author
  59. {
  60. get { return author; }
  61. set
  62. {
  63. SetProperty(ref author, value);
  64. }
  65. }
  66. private double opacity;
  67. public double Opacity
  68. {
  69. get { return opacity; }
  70. set
  71. {
  72. SetProperty(ref opacity, value);
  73. }
  74. }
  75. }
  76. }