Hello Support,
I'm trying to evaluate ADR and I have some problems
With this sample code, partially issued from this forum, ADRAddGdPictureImageToTemplate always returns 2 (InvalidParameter)
Dim ImageID As Integer = Imaging1.CreateGdPictureImageFromFile("")
Dim TemplateID As Integer = Imaging1.ADRCreateTemplateEmpty()
MsgBox("TemplateID = " & TemplateID & " - ImageID = " & ImageID)
MsgBox(Imaging1.ADRAddGdPictureImageToTemplate(TemplateID, ImageID))
MsgBox(Imaging1.ADRGetCloserTemplateForGdPictureImage(ImageID))
MsgBox(Imaging1.ADRGetLastConfidence())
GDPicture.NET version 6.6.0.5 - Trial License number received yesterday
Visual Basic 2008 Express SP1
Where is my mistake ?
Thank you for your help.
Invalid Parameter returned
Re: Invalid Parameter returned
Hi,
Your code is working fine for me.
I suspect you to try to open a PDF document using the GdPictureImaging class: It is not yest possible. You have to open the PDF using a GdViewer object, then render PDF pages to GdPicture Image.
Let me know if you need more assistance.
With best regards,
Loïc Carrère
Your code is working fine for me.
I suspect you to try to open a PDF document using the GdPictureImaging class: It is not yest possible. You have to open the PDF using a GdViewer object, then render PDF pages to GdPicture Image.
Let me know if you need more assistance.
With best regards,
Loïc Carrère
Re: Invalid Parameter returned
Thanks Loïc,
I found my mistake.
The reference to GdPicture.NET.dll that I have added to my project was not the right one.
It works fine now.
Best regards
I found my mistake.
The reference to GdPicture.NET.dll that I have added to my project was not the right one.
It works fine now.
Best regards
Who is online
Users browsing this forum: No registered users and 1 guest