This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, January 20, 2011 2:07:58 PM(UTC)
Groups: Registered
Posts: 1
I'm currently using LT 16.5 in my application however our customer required to upgrade it in order for it to use LT 17.0 - I've downloaded the FULL evaluation version and after a few minor adjustments to the application was able to compile and run, however whenever I try to process a PDF file I'm getting an error like "Raster PDF Engine is needed to use this feature". Wasn't supposed to come everything in the installation ? Am I missing something ?
Any help, ideas, comments that might shed some light will be greatly appreciated.
Thanks,
Mario
#2
Posted
:
Friday, January 21, 2011 11:06:28 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Hello Mario,
With LEADTOOLS v16.5, the PDF engine consisted of several directories that could be found in the "..\Bin\Common\PDF\" directory. With the LEADTOOLS installation, we included a registry key that pointed our tools to where this engine could be found. It was not required with v16.5 to specifically indicate in your code where the engine could be located, as long as this registry key existed on the system.
With LEADTOOLS v17, neither this PDF folder nor this registry key exist anymore. The runtime was replaced with a single dll, and now you must indicate in your code where the LtPdfEngine.dll/Leadtools.PdfEngine.dll can be found. The location of the PDF engine needs to be set using one of the following methods:
1.) C DLL - L_SetPDFInitDir(L_TCHAR* pszInitDir);
2.) C++ Class Library - LFileSettings::SetPDFInitDir(L_TCHAR* pszInitDir);
3.) .NET - RasterCodecs.CodecsOptions.CodecsPdfOptions.InitialPath property
This needs to be set prior to any call that would access the file, such as getting file information or decompressing it.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.