RecentOpenFiles.cs 1018 B

123456789101112131415161718192021222324252627282930313233343536
  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. }
  28. }