Allow rendering with Docnet PDF

This commit is contained in:
2026-03-02 16:24:05 +09:00
parent 5f99d0e4eb
commit d51017bb73
4 changed files with 129 additions and 26 deletions
+9
View File
@@ -12,10 +12,12 @@ namespace MayShow.Models;
class Settings : ChangeNotifier
{
private string _lastUsedPath;
private bool _useDocnetPDFImageRendering;
public Settings()
{
_lastUsedPath = "";
_useDocnetPDFImageRendering = true;
}
[JsonInclude]
@@ -25,6 +27,13 @@ class Settings : ChangeNotifier
set { _lastUsedPath = value; NotifyPropertyChanged(); }
}
[JsonInclude]
public bool UseDocnetPFDImageRendering
{
get => _useDocnetPDFImageRendering;
set { _useDocnetPDFImageRendering = value; NotifyPropertyChanged(); }
}
public static string GetSettingsFileName()
{
return "settings.json";