Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jdmurray  
#1 Posted : Thursday, April 12, 2007 8:59:36 AM(UTC)
jdmurray

Rank: Member

Groups: Member
Joined: 4/10/2007(UTC)
Posts: 1

All of your code examples that add images to the ThumbnailListView control have the image data being read from files. But my app is loading thumbnail images from a database and not from disk files. How do you use the ThumbnailListView.Items.Add() method to load image data that already is stored in a System.Drawing.Image object, an Aurigma.GraphicsMill.Bitmap object, or a byte array? Thanks in advance.
Dmitry  
#2 Posted : Sunday, April 15, 2007 10:36:31 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello, Please, read "Creating Custom List Items" article. If you have some questions - feel free to post here.

Edited by user Monday, October 27, 2008 11:14:22 PM(UTC)  | Reason: Not specified

Sincerely yours, Dmitry Sevostyanov UserPostedImage Follow Aurigma on Twitter!
sudhir  
#3 Posted : Tuesday, April 17, 2007 5:38:58 PM(UTC)
sudhir

Rank: Member

Groups: Member
Joined: 4/17/2007(UTC)
Posts: 1

Hello, We have added the thumbnail items as specified in the "Creating Custom List Items” article. The thumbnail control works fine when you run the application in debug mode, but when you run the application in release mode it is not working properly. Please find the attached sample application. Any help will be appreciated. Thanks, Sudhir
File Attachment(s):
MultiFrameTiffCS.zip (1,627kb) downloaded 120 time(s).
Alex Kon  
#4 Posted : Thursday, April 19, 2007 10:13:36 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello Sudhir, I've looked through your sample. It works fine, except for drag'n'drop because of there is no Clone() method which should be implemented for correct work of the drag'n'drop functionality. Could you describe your problem in more detail or send screenshots? By the way, after brief code review I've found some vulnerable points with synchronization. You should synchronize access to the shared resources - such as image lists. This may explain why your application works in debug, but fails in release. Also in your implementation every BitmapListItem stores full-sized bitmap - this may cause out of memory error. Which version of Graphics Mill for .NET do you use?
Users browsing this topic
Forum Jump  
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.