Signature.cs 926 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows.Ink;
  8. namespace PDF_Office.Model.AnnotPanel
  9. {
  10. public enum SignatureType
  11. {
  12. TextType,
  13. Drawing,
  14. ImageType
  15. }
  16. public class Signature : BindableBase
  17. {
  18. private string sourcePath;
  19. public string SourcePath
  20. {
  21. get { return sourcePath; }
  22. set
  23. {
  24. SetProperty(ref sourcePath, value);
  25. }
  26. }
  27. private string drawingPath;
  28. public string DrawingPath
  29. {
  30. get { return drawingPath; }
  31. set
  32. {
  33. SetProperty(ref drawingPath, value);
  34. }
  35. }
  36. public SignatureType Type { get; set; }
  37. public DrawingAttributes DrawingAttributesObject { get; set; }
  38. }
  39. }