Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, February 13, 2007 3:48:17 AM(UTC)
mishrask06

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

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, February 14, 2007 10:10:14 PM(UTC)
Maen Hasan

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
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.107 seconds.