Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/FileFormats/ImageFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ImageFile.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/UVtools.Core/FileFormats/ImageFile.cs b/UVtools.Core/FileFormats/ImageFile.cs
index 3238cb7..2f2777b 100644
--- a/UVtools.Core/FileFormats/ImageFile.cs
+++ b/UVtools.Core/FileFormats/ImageFile.cs
@@ -37,6 +37,17 @@ namespace UVtools.Core.FileFormats
set => throw new NotImplementedException();
}
+ public override float DisplayWidth
+ {
+ get => ResolutionX;
+ set => ResolutionX = (uint) value;
+ }
+ public override float DisplayHeight
+ {
+ get => ResolutionY;
+ set => ResolutionY = (uint)value;
+ }
+
public override byte AntiAliasing { get; } = 1;
public override float LayerHeight { get; set; } = 0;
public override float PrintTime { get; } = 0;