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 : Tuesday, December 6, 2005 11:43:51 AM(UTC)

llynn  
llynn

Groups: Registered
Posts: 1


Using VB6 lead 13 ActiveX

Code

lmcMain.AnnCreate 10, True, True

 

How do I set the text value and embed it in a tif file programmatically?

 

Thanx

 

 

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, December 7, 2005 11:37:19 PM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

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

The code should look something like this:

hObject1 = LEAD1.AnnCreate(10, True, True)
LEAD1.AnnDefine hObject1, 0, 0, ANNDEFINE_BEGINSET
LEAD1.AnnDefine hObject1, 200, 200, ANNDEFINE_END
LEAD1.AnnSetText hObject1, "Text", False
LEAD1.AnnSaveTag True, False
LEAD1.Save "file.tif", FILE_TIF, 24, 0, SAVE_OVERWRITE

Let me know if you get any problems.

Bashar Abdulqaiyume
LEAD Technologies, Inc.
 
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.050 seconds.