mirror of
https://github.com/Geckon01/Watermark.Net.git
synced 2026-06-15 01:13:31 +03:00
Fixed watermark position wrong exception
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user