I have a following code in my application
I am having the code inside azure functions.
public static async Task Run([HttpTrigger(AuthorizationLevel.Function, “get”, “post”, Route = null)]HttpRequestMessage req, TraceWriter log)
MemoryStream stream = new MemoryStream(Encoding.UTF8.GetBytes(html));
Document doc = new Document(stream, objLoadOptions);
//some code here …
I am getting Platform not supported exception in the Document Creation line
Message = “System.Drawing is not supported on this platform.”
Please help me in this regard.