BackgroundCreateModel.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using ComPDFKit.PDFDocument;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PDF_Office.Model.EditTools.Background
  8. {
  9. public class BackgroundCreateModel
  10. {
  11. }
  12. public enum EnumBackgroundType
  13. {
  14. StatusColor,
  15. StatusFile
  16. }
  17. public class BackgroundInfo
  18. {
  19. public EnumBackgroundType EnumBackgroundType { get; set; }
  20. public string Color { get; set; }
  21. public string Rotation { get; set; }
  22. public byte Opacity { get; set; }
  23. public bool IsRelativeRatio { get; set; }
  24. public int RelativeRatio { get; set; }
  25. public int VerticalMove { get; set; }
  26. public int HorizontalMove { get; set; }
  27. public C_Background_Vertalign BackgroundVertalign { get; set; }
  28. public C_Background_Horizalign BackgroundHorizalign { get; set; }
  29. public C_Background_Type BackgroundType { get; set; }
  30. public byte[] ImageArray { get; set; }
  31. }
  32. }