Rank: Advanced Member
Groups: Guest
Joined: 9/10/2010(UTC) Posts: 57
Thanks: 1 times
|
Hello, We want to load a thumbnail image from the memory instead of loading it directly from the file system such as public ThumbnailListItem(string path); eg: we have a lot of thumnail images embedded in resource file. we want load each image in a thumbnaillistitem. we notice that ThumbNailListItem has a method public void SetThumbnail(Bitmap thumbnail); public void Reload(); But we have not got it done successfully so far. We want to do this in order to avoid opening many thumnail image files at the same time in hope to imrove performance a little bit. Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Hello, In your case, it is better to create your own class inherited from the ListItem. This article explains how to create BitmapListItem class which works with Aurigma.GraphicsMill.Bitmap class instead of a file system: http://www.graphicsmill....eatingCustomListItem.htm Note, this article is written for GM5, so the syntax may differ a little bit, but it should give you an idea how to do it. If you have problems using this article with GM6, please let me know and we will provide you with our assistance.
|
|
|
|
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.