LEADTOOLS Support
General
General Questions
Re: While scanning I got previous used annotations alongwith
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, February 13, 2007 3:48:17 AM(UTC)
Groups: Registered
Posts: 3
Hi
I am using LeadTools version 14.5 with VB6.0. I am using annotation in my application. Problem is that if I apply some annotations to a scanned file and save it, after that if I am scanning new document it automatically apply annotations applied in previous file. I dont want this functionality at all. So how to remove this ?
I have tried following code but not succeeded.
leadPreview.AnnContainer = 0
leadPreview.AnnRealize False 'burn the annotations in
leadPreview.ForceRepaint
Plz help me someone on emergency basis.
thanks
#2
Posted
:
Wednesday, February 14, 2007 10:10:14 PM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
If you want to destroy the annotation when you scan a new document, you can do this as follows:
You need to pass the container handle to the AnnDestroy method, and pass the flags ANNFLAG_NOTCONTAINER|ANNFLAG_RECURSE as follows:
leadPreview.AnnDestroy leadPreview.AnnContainer, ANNFLAG_NOTCONTAINER|ANNFLAG_RECURSE
Please try this and let me know how it goes.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
LEADTOOLS Support
General
General Questions
Re: While scanning I got previous used annotations alongwith
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.