mirror of
https://github.com/Geckon01/Watermark.Net.git
synced 2026-06-17 16:47:48 +00:00
Fixed watermark position wrong exception
This commit is contained in:
@@ -235,7 +235,7 @@ namespace Watermark.Net.src.WatermarkNet.Core
|
|||||||
case ImagePosition.BottomCenter:
|
case ImagePosition.BottomCenter:
|
||||||
return HorizontalAlignment.Center;
|
return HorizontalAlignment.Center;
|
||||||
default:
|
default:
|
||||||
throw new ArgumentException("Image position must be provided.");
|
return HorizontalAlignment.Center;
|
||||||
}
|
}
|
||||||
return HorizontalAlignment.Left;
|
return HorizontalAlignment.Left;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user