AspNetCore API project issue converting pdf to word doc

We are using AspNetCore 8.0 for an api project. We tried to convert a pdf object to a word object was follows:

Aspose.Pdf.Document doc = // Out db access
System.IO.MemoryStream wordStream = new System.IO.MemoryStream();
doc.Save(wordStream, Aspose.Pdf.SaveFormat.Doc);

This worked fine back in an asp.net library, but in Core, it complains about not being able to loan System.Windows.Forms, which we don’t have access to in Core. How should I convert an Aspsoe PDF to a Word byte array??

@bsaenz24 Is there any way for you to test this issue with Aspose.PDF.Drawing v.24.3?
If not, please tell us which version you can use.