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 : Friday, September 1, 2006 5:02:46 AM(UTC)

marasma  
marasma

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.

 

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 : Friday, September 1, 2006 5:50:35 AM(UTC)

marasma  
marasma

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)

Adnan Ismail  
Guest

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)

marasma  
marasma

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)

Adnan Ismail  
Guest

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.067 seconds.