I am trying to make a ProofOfConcept Azure function that converts a Word document to Pdf, however I keep running into System.Drawing errors.
Is this scenario supported or not?
System.PlatformNotSupportedException: System.Drawing is not supported on this platform.
at System.Drawing.Text.PrivateFontCollection..ctor()
at sprᬁ..ctor(sprᬔ A_0, SizeF A_1, Graphics A_2)
at spr.ᜓ()
at spr.ᜀ(IDocument A_0)
at sprᬤ.ᜀ(Document A_0, Stream A_1, ToPdfParameterList A_2)
at Spire.Doc.Document.ᜀ(Stream A_0, ToPdfParameterList A_1)
at Spire.Doc.Document.SaveToStream(Stream stream, ToPdfParameterList paramList)
at AzurePdf.CreatePdf.Run(HttpRequestMessage req, TraceWriter log) in