On Mar 19, 2007, at 19:26 UTC, Long Huynh wrote:

> Can I have the following in a function:
> 
> function xxx () As Picture
> Dim thumb As Picture
>   :
>   :
>   :
> thumb.Graphics.DrawPicture getImg, 0, 0, thumb.Width, thumb.Height,
> 0, 0, getImg.Width, getImg.Height
> 
>   // Return Thumbnail
>   Return thumb

Sure, why not?  Of course somewhere in the ":" lines I do hope you're
creating (or otherwise getting a reference to) an actual Picture
object, and assigning it to thumb.

Best,
- Joe

--
Joe Strout -- [EMAIL PROTECTED]
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to