This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, November 5, 2007 5:54:28 AM(UTC)
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.
#2
Posted
:
Monday, November 5, 2007 10:41:36 PM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
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.