BackgroundCreateModel.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 byte[] Color { get; set; }
  20. public int Rotation { get; set; }
  21. public byte Opacity { get; set; }
  22. public bool IsRelativeRatio { get; set; }
  23. public int RelativeRatio { get; set; }
  24. public int VerticalMove { get; set; }
  25. public int HorizontalMove { get; set; }
  26. public int ImageWidth { get; set; }
  27. public int ImageHeight { get; set; }
  28. public string PageRange = "1";
  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. }