RecentOpenFiles.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using ComPDFKitViewer;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Windows.Media;
  5. namespace PDFSettings.Settings
  6. {
  7. public class RecentOpenFiles : List<OpenFileInfo>
  8. {
  9. }
  10. public class OpenFileInfo
  11. {
  12. public string FileName { get; set; } = "";
  13. public string FilePath { get; set; } = "";
  14. public DateTime LastOpenTime { get; set; } = DateTime.Now;
  15. public string ThumbImgPath = "";
  16. public int LastPageIndex = 0;
  17. public double LastZoom = 1;
  18. public ViewMode LastViewMode = ViewMode.SingleContinuous;
  19. public FitMode LastFitMode = FitMode.FitFree;
  20. public SplitMode LastSplitMode = SplitMode.None;
  21. public bool ShowHighLightLink = true;
  22. public bool LastPageSpace = true;
  23. public DrawModes LastDrawMode = DrawModes.Draw_Mode_Normal;
  24. public uint LastFillColor = 0XFFFFFFFF;
  25. //用于记录显示的Color
  26. public Color LastFillBrushColor = Brushes.White.Color;
  27. public bool IsGuidPDF { get; set; } = false;
  28. /// <summary>
  29. /// 记录展开的BOTA的选项
  30. /// </summary>
  31. public string BOTASelectedTab = "";
  32. //记录展开的BOTA的索引
  33. public int BOTASelectedInex = 0;
  34. /// <summary>
  35. /// 记录本次BOTA的展开状态
  36. /// </summary>
  37. public bool IsBOTAOpen = false;
  38. }
  39. }