I´m trying to convert DOCX to PDF using:
GdPictureDocumentConverter converter = new GdPictureDocumentConverter();
var status = converter.LoadFromStream(new MemoryStream(docx), GdPicture14.DocumentFormat.DocumentFormatOpenXMLWord);
if (status == GdPictureStatus.OK)
MemoryStream pdfdocument = new MemoryStream();
status = converter.SaveAsPDF(pdfdocument, PdfConformance.PDF);
if (status != GdPictureStatus.OK) throw new Exception("Exception: " + status.ToString());
LoadFromStream returns OK but SaveAsPDF returns GenericError, it returns the same error saving to a path
Thanks in advance
It seems that it might be a bug, I don't see anything wrong with your code.
Could you please open a support ticket on the support platform here: https://support.orpalis.com/index.php?/Tickets/Submit/
and provide the full working code snippet as well as a sample input document so the development team can investigate this?
Who is online
Users browsing this forum: Baidu [Spider] and 1 guest