Hi,
I am trying to convert a Word of 380 pages with lot of images (linked images), and in the final PDF not all of them are displayed.
During the conversion this errors are raised :
'System.OutOfMemoryException' in System.Drawing.dll
'Syncfusion.Pdf.PdfException' in Syncfusion.Pdf.Base.dll
Small Word Doc are perfectly converted.
Any advice ?
My Code :
For Each fichier As String In listeFichierASigner
Dim wordDoc As WordDocument
Dim pdfDoc As PdfDocument
Dim converter As DocToPDFConverter
Dim strNomFichier = My.Computer.FileSystem.GetName(fichier)
strNomFichier = strNomFichier.Substring(0, strNomFichier.Length - 4)
wordDoc = New WordDocument(fichier)
converter = New DocToPDFConverter()
pdfDoc = converter.ConvertToPDF(wordDoc)
pdfDoc.Save(String.Format("{0}{1}.pdf", StrCheminPdfAVerifier, strNomFichier))
pdfDoc.Close(True)
Next