ADRGetTemplateTag return a string(256)

Discussions about Automatic Document Recognition in GdPicture.NET.
Post Reply
User avatar
kketterman
Posts: 32
Joined: Tue Apr 21, 2009 6:55 pm

ADRGetTemplateTag return a string(256)

Post by kketterman » Mon Apr 27, 2009 6:55 pm

I am trying to use this method but cannot get rid of the extra characters.

This is only affecting display the template tag in a statusbar.

User avatar
Loïc
Site Admin
Posts: 5576
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADRGetTemplateTag return a string(256)

Post by Loïc » Tue Apr 28, 2009 10:20 am

Hi,

Could you give me more precisions ? I don't understand your problem.

Kind regards,

Loïc

User avatar
kketterman
Posts: 32
Joined: Tue Apr 21, 2009 6:55 pm

Re: ADRGetTemplateTag return a string(256)

Post by kketterman » Tue Apr 28, 2009 2:44 pm

I have found a work-around for the moment, but here is what I found...

When I call adrgettemplatetag, I get a string back with a length of 256.

when I iterate through the collection and display the results in a messagebox, all the templates are shown.

If I try to append the values to a textbox or even a string variable, I get the first value only.

When I view the code-hint's while debugging, I noticed the value display with ("The Tag) and is missing the trailing quote.

User avatar
Loïc
Site Admin
Posts: 5576
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADRGetTemplateTag return a string(256)

Post by Loïc » Tue Apr 28, 2009 3:06 pm

Hi,

Could you give me a code snippet to reproduce this behavior ?

Kind regards,

Loïc

User avatar
Loïc
Site Admin
Posts: 5576
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADRGetTemplateTag return a string(256)

Post by Loïc » Tue Apr 28, 2009 3:18 pm

OK !

I reproduced the problem. I am on it...

Kind regards,

Loïc

User avatar
Loïc
Site Admin
Posts: 5576
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ADRGetTemplateTag return a string(256)

Post by Loïc » Tue Apr 28, 2009 3:36 pm

Fixed,

Please wait for the next minor release.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest