Hi Team,
I am getting The type initializer for ‘’ threw an exception error when trying to apply watermark on excel file type.
using FileStream stream = File.Open(infilename, FileMode.Open, FileAccess.ReadWrite);
using Watermarker watermarker = new Watermarker(stream, new SpreadsheetLoadOptions()); - error occurring in this line
Could you help to resolve this issue?
image.png (76.1 KB)
inner exception is {“Operation is not valid due to the current state of the object.”}
.Net version: .Net 6.0
Group Docs Watermark version : 21.3.0
Regards
Thiya