Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

"PDF Capability is Required" error...
Started by betterdays at 06-25-2008 14:54. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  06-25-2008, 14:54
betterdays is not online. Last active: 9/22/2008 4:03:42 PM betterdays

Not Ranked
Joined on 06-25-2008
Posts 2
"PDF Capability is Required" error...
Reply Quote

I am trying to convert a pdf to a jpeg and I'm getting "LeadTools RasterException:PDF Capability is Required"

I have the Leadtools.dll, Leadtools.codecs.dll, most of the Leadtools.codecs. including pdf and jpg referenced.  

Is there anything else I need to do? Is the pdf convert included in the Raster Imaging Pro? 

 

Leadtools.RasterSupport.Unlock(RasterSupportType.Pro, theKey);
RasterCodecs.Startup();
RasterCodecs codecs = new RasterCodecs();
RasterImage ri = codecs.Load(_strSrc);
System.Drawing.
Image img = ri.ConvertToGdiPlusImage();
img.Save(_strDst, ImageFormat.Jpeg);
ri.Dispose();
RasterCodecs.Shutdown();

 

Thanks


   Report 
  06-25-2008, 15:36
jigar is not online. Last active: 11/19/2008 5:21:33 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 447
Re: "PDF Capability is Required" error...
Reply Quote
Hi,

PDF Read/Write capability is an addon, not included in Raster Pro.  You have to call unlock support for PdfRead and PdfWrite.  They are two separate modules.

LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » PDF » "PDF Capability is Required" error...

Powered by Community Server, by Telligent Systems