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 : Monday, July 31, 2006 10:27:51 AM(UTC)
luca.marchese

Groups: Registered
Posts: 1


Hi,

I am using LT13 OCX & VB6 and I need to create annotations programmatically.

Are there samples, etc. available ?

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, August 2, 2006 9:58:51 AM(UTC)

Otis  
Guest

Groups: Guests
Posts: 3,034

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

You would use the AnnCreate method (Main Control) to create annotations programmatically. This method is documented in the help file with sample code but I have placed a code snippet below to show you the basics.

Dim hRectObject As Long
hRectObject = LEAD1.AnnCreate(ANNOBJECT_RECT, True, True)
LEAD1.AnnSetAutoDefaults hRectObject, 0
LEAD1.AnnDefine hRectObject, 10, 10, ANNDEFINE_BEGINSET
LEAD1.AnnDefine hRectObject, 40, 40, ANNDEFINE_END

 
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-2020, Yet Another Forum.NET
This page was generated in 0.116 seconds.