By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,863 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

GetThumbnailImage Method

P: n/a
I am having difficulty implementing the GetThumbnailImage
method. I have read the "Help" files on this method, but
remain confused. My problem is understanding the last
two parameters that the method requires. I don't
understand the callback concept in genreal. What are the
callback and callbackData parameters, how are they set up
and how are they used?

Dim MyImage As Image
MyImage = Image.FromFile("C:\Chris6.jpg")
MyImage.GetThumbnailImage(100, 100, callback As _
Image.GetThumbnailImageAbort, callbackData As IntPtr)
pbArt.Image = MyImage

Thanks for your assistance, GrandpaB
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Success, I found a example using the thumbnail method.
The third line of my code is now:

MyImage = MyImage.GetThumbnailImage(100, 100, Nothing,
New IntPtr)

The code is now working & thumbnails are being created. I
am still in the dark concerning the last two parameters
of the GetthumbnailImage method. Any insight would be
appreciated, thanks
-----Original Message-----
I am having difficulty implementing the GetThumbnailImagemethod. I have read the "Help" files on this method, butremain confused. My problem is understanding the last
two parameters that the method requires. I don't
understand the callback concept in genreal. What are thecallback and callbackData parameters, how are they set upand how are they used?

Dim MyImage As Image
MyImage = Image.FromFile("C:\Chris6.jpg")
MyImage.GetThumbnailImage(100, 100, callback As _
Image.GetThumbnailImageAbort, callbackData As IntPtr)
pbArt.Image = MyImage

Thanks for your assistance, GrandpaB
.

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.