This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, September 1, 2006 5:02:46 AM(UTC)
Groups: Registered
Posts: 51
Hi,
is possible to insert a RasterImageViewer in a preexisting RasterimageViewer ? I need to modify the bitmap of an AnnStampObject displayed on an image without opening another form, but at the same location?
Thanks!
P.S.: I use LT 14.5 DocImaging with VB.Net.
#2
Posted
:
Friday, September 1, 2006 5:50:35 AM(UTC)
Groups: Registered
Posts: 51
Sorry,
I resolved this problem, but I have a little issue. The transparent color defined on the second viewer "is not transparent". Why? I have read that the RasterImageViewer.TransparentColor and RasterImageViewer.Transparent works only with GDI+. What does it mean?
Thanks!
#3
Posted
:
Tuesday, September 5, 2006 12:44:50 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
How exactly do you display transparency? Do you want to make
a color in the annotation object transparent, or do you want to display a
RasterImageViewer image with transparent parts?
#4
Posted
:
Wednesday, September 6, 2006 6:36:08 AM(UTC)
Groups: Registered
Posts: 51
Hi,
the second case. I need to display black colored parts as transparent parts.
Thanks.
#5
Posted
:
Thursday, September 7, 2006 8:10:47 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
One way to do that is to define a region in the image that
contains all pixels that are NOT
transparent. To do that use the RasterImage.AddColorToRegion
Method with a
combine mode of SetNot. Then use the CombineCommand class to
move the pixels
of the region (non-transparent) to the second image.
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.