Hi,
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());
return pdfdocument.ToArray();
}
LoadFromStream returns OK but SaveAsPDF returns GenericError, it returns the same error saving to a path
Any help?
Thanks in advance
Docx to PDF GDPicture 14
Re: Docx to PDF GDPicture 14
Hello
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?
Thanks
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?
Thanks
Who is online
Users browsing this forum: No registered users and 0 guests