Hello,
We're using leadtools to convert image to PDF, and as we call the InsertPages method in Leadtools.Forms.Ocr.Advantage.OcrPageCollection, I'm getting the following error:
"External component has thrown an exception."
with the following stack trace:
at L_RedirectedClose(L_HFILE__* )
at L_RedirectedClose(L_HFILE__* fd)
at fltFreeDataPDF(Void* , DATATYPE )
at Leadtools.Codecs.Pdf.PdfCodec.fltFreeData(IntPtr data, Int32 dataType)
at ?A0x7815e18b.ManagedFLTFREEDATA(Int32 fmt, Void* data, DATATYPE dataType)
at L_FreeFilterData(Int32 , Void* , UInt64 , Int32 )
at Leadtools.Codecs.CodecsFilterData.~CodecsFilterData()
at Leadtools.Codecs.CodecsFilterData.Dispose(Boolean )
at Leadtools.Codecs.CodecsFilterData.Dispose()
at Leadtools.Codecs.RasterCodecs.DoLoad(LoadParams loadParams)
at Leadtools.Forms.Ocr.Advantage.OcrPageCollection.InsertPages(Int32 pageIndex, String fileName, Stream stream, Uri uri, Int32 imageFirstPageNumber, Int32 imageLastPageNumber, OcrProgressCallback callback)
at Leadtools.Forms.Ocr.Advantage.OcrPageCollection.InsertPages(Int32 pageIndex, Stream stream, Int32 imageFirstPageNumber, Int32 imageLastPageNumber, OcrProgressCallback callback)
We are using Leadtools 19.0.4.0. Our project's platform target is set to x64. Let me know if you need additional information.
I've been reading the other topics but I could not find something similar to this.
I appreciate your guidance.
Thanks