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 : Thursday, November 16, 2006 5:16:40 PM(UTC)

cmurphy  
cmurphy

Groups: Registered
Posts: 31


I'm using version 14.5, annotation COM object with dotNet classes.

I was trying to copy & paste annotation object but I want to move new annotation object a little bit away from original annotation object. I've try using sample under "AnnMove example for Visual Basic" topic but it didn't moved.

I've also tried the following but it still didn't move:

float annRectTop = m_TheAnn1.get_AnnRectTop(newhObject); //get top value of ann obj
float annRectLeft = m_TheAnn1.get_AnnRectLeft(newhObject); //get top value of ann obj
m_TheAnn1.set_AnnRectTop(newhObject, annRectTop + 100);
m_TheAnn1.set_AnnRectLeft(newhObject, annRectLeft + 100);

Is there something that I've missed?

Please advice,

 

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 : Thursday, November 30, 2006 1:53:29 PM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

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

I'm posting the result of our email communication regarding this issue through the support email system for the general benefit.
I'm attaching a small C# project that shows how the AnnRectXXX COM properties work in C#.

File Attachment(s):
CSAnn14Com.zip (8kb) downloaded 36 time(s).
Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Friday, December 1, 2006 3:40:30 PM(UTC)

cmurphy  
cmurphy

Groups: Registered
Posts: 31


I've got it. Thank you very much.
 
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.041 seconds.