ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to load Picture from database

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
zarrinnegar Posted - Dec 18 2012 : 12:59:05
Hi Dear
I use Evolution for .net
I want to load image from database or PictureBox into Ieviewer.
like this code:

MemoryStream ms = new MemoryStream();
pictureBox1.Image.Save(ms, pictureBox1.Image.RawFormat);
ieViewer1.Image.LoadImage(ms);

But I don't see any image in viewer
Help me for this problem

Thanks a lot
2   L A T E S T    R E P L I E S    (Newest First)
zarrinnegar Posted - Dec 18 2012 : 13:06:17
OK
thanks a lot
xequte Posted - Dec 18 2012 : 13:03:19
Hi

Please try:

MemoryStream ms = new MemoryStream();
pictureBox1.Image.Save(ms, pictureBox1.Image.RawFormat);
ms.Position = 0;
ieViewer1.Image.LoadImage(ms);


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com