BackgroundCreateModel.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 byte[] Color { get; set; }
  21. public int 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 int ImageWidth { get; set; }
  28. public int ImageHeight { get; set; }
  29. public C_Background_Vertalign BackgroundVertalign { get; set; }
  30. public C_Background_Horizalign BackgroundHorizalign { get; set; }
  31. public C_Background_Type BackgroundType { get; set; }
  32. public byte[] ImageArray { get; set; }
  33. }
  34. }