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, November 5, 2007 5:54:28 AM(UTC)

brownt  
brownt

Groups: Registered
Posts: 3


I am creating annotations on a bitonal image file that will eventually be realized (burned) to the file.  Is there an easy way to force all annotation objects to only be created and drawn in black and white?  An example for 14.5 ActiveX would be helpful.  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 : Monday, November 5, 2007 10:41:36 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Hello,

If you mean that you want to create and draw annotation objects in black and white colors, you can do this by using the AnnSetForeColor and AnnSetBackColor as follows:
+-------------+
Private Sub LEAD1_AnnCreate(ByVal hObject As stdole.OLE_HANDLE)
LEAD1.AnnSetForeColor hObject, RGB(0, 0, 0), False
LEAD1.AnnSetBackColor hObject, RGB(0, 0, 0), False
End Sub
+-------------+

Also, if your image is black and white 1-bit, the annotation objects will be realized in black and white colors.

End Sub
Maen Badwan
LEADTOOLS Technical Support
 
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.093 seconds.