I am trying to use the sample PDF to TIFF_CS from GdPicture.NET V6.
However I get the message Can't open file: xxxx when trying to read a file.
Debugging the code I find that
if ( oGdViewer.DisplayFromFile( InputFilePath ) == GdPicture.GdPictureStatus.OK )
does not return OK
I am now trying
Int32 curImage = oGdPictureImaging.CreateGdPictureImageFromFile("");
Trying to open a PDF file gives me curImage = 0
Trying to open a JPEG gives me curImage = 1
So it seems that I am not able to read PDF files. Have I missed something??
Failed to use sample code
Re: Failed to use sample code
Hi Torben,
It is working for me. Here what I done:
- Open the project
- Replace XXX by valid license key (commercial or demo)
- Build the project
- Open PDF, start conversion
- A file should be created in c:\test.tif
Hope this helps,
Loïc
It is working for me. Here what I done:
- Open the project
- Replace XXX by valid license key (commercial or demo)
- Build the project
- Open PDF, start conversion
- A file should be created in c:\test.tif
Hope this helps,
Loïc
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests