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 : Sunday, November 1, 2009 4:31:10 PM(UTC)

zzzkan  
zzzkan

Groups: Registered
Posts: 8


Leadtools v16.5.
C++ class library.
VS 2005, MFC


I create annotation objects(rectangel, line etc.) by Toolbar.

I want to enlarge the rectangle's Line width.

To do this,
How can I get the pointer of the rectangle object?


please let me know...

 

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, November 2, 2009 6:03:01 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

You can use the LAnnContainer::Enumerate to access all the annotation objects inside the container by handling the LAnnContainer::EnumerateCallBack, which will be triggered for each object.
In the callback, you can know what each object's type is by calling LAnnotation::GetType.
You can then use any function with the object, such as LAnnotation::Resize().

 
#3 Posted : Monday, November 2, 2009 7:56:50 PM(UTC)

zzzkan  
zzzkan

Groups: Registered
Posts: 8


Thank you so much Adnan Ismail!


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