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 : Friday, March 23, 2007 10:02:44 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


This VB.NET 2005 sample project shows two ways to track the changes made to your Annotations in LEADTOOLS 15.
 
1. Using the ItemAdded and ItemRemoved events of the RasterCollection class
 
2. Using the AfterObjectChanged Event of the AnnAutomation class.  This reports much more specific information about what changed.  Take a look at the ChangeType Property of the AnnAfterObjectChangedEventArgs class in the .NET help file for more detailed information.  Since this event is a member of the AnnAutomation class, they will NOT fire if you add, edit, or remove annotations programmatically.
File Attachment(s):
NET - v15 - Annotations AfterObjectChanged.zip (44kb) downloaded 69 time(s).
 

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 : Monday, June 25, 2012 12:50:32 AM(UTC)

Ibrahim  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

I've updated this project to use the LEADTOOLS v17.5 in VB.NET using Visual Studio 2008. This project uses the RasterCollection and AnnAutomation class to track the changes on an annotation object.
File Attachment(s):
VBNET_v175_AnnotationsAfterObjectChanged.zip (18kb) downloaded 68 time(s).
 
#3 Posted : Monday, June 25, 2012 12:53:27 AM(UTC)

Ibrahim  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

This is the same project but in C#.
File Attachment(s):
CS_v175_AnnotationsAfterObjectChanged.zip (17kb) downloaded 72 time(s).
 
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.055 seconds.