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, March 20, 2009 2:34:06 AM(UTC)

ssskkk  
ssskkk

Groups: Registered
Posts: 74


Hello,

      I have an application using c#.net 2008 and leadtools.

i wrote in my application,

rasterimageviewer.image=codecs.load(picturebox1.image)

   Error is can not convert system.drawing.image into system.iri.

 What is the solution for that?

Thanks

Dileep. 

 

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 : Sunday, March 22, 2009 5:33:57 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,028

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

If you want to use the image from a picture box, you need to use the RasterImage constructor as the following example:
pictureBox1.Load(@"c:\sample.bmp");
_viewer.Image = new RasterImage(pictureBox1.Image);
 
#3 Posted : Monday, March 23, 2009 10:09:22 PM(UTC)

ssskkk  
ssskkk

Groups: Registered
Posts: 74


Thanks
 
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.092 seconds.