This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, December 6, 2005 11:43:51 AM(UTC)
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
#2
Posted
:
Wednesday, December 7, 2005 11:37:19 PM(UTC)
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.