This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, November 1, 2009 4:31:10 PM(UTC)
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...
#2
Posted
:
Monday, November 2, 2009 6:03:01 AM(UTC)
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)
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.