Fixed watermark position wrong exception

This commit is contained in:
DESKTOP-QG096I2\RentPc
2025-07-25 22:11:38 +03:00
parent c737db51a9
commit 871b78a89f

View File

@@ -235,7 +235,7 @@ namespace Watermark.Net.src.WatermarkNet.Core
case ImagePosition.BottomCenter:
return HorizontalAlignment.Center;
default:
throw new ArgumentException("Image position must be provided.");
return HorizontalAlignment.Center;
}
return HorizontalAlignment.Left;
}