PictureBox Help

netpicker9
10-24-2006, 05:00 PM
Hi,

I have VB6 Code and trying to convert to VB.NET, let me mention my doubts here.

What is equivalent 'AutoRedraw' (VB6 Picture) Property in VB.net PictureBox
What is equivalent 'HDC' (VB6 Picture) Property in VB.net PictureBox
What is equivalent 'ScaleMode' (VB6 Picture) Property in VB.net PictureBox

Any sample code..

Thanks

Iceplug
10-24-2006, 05:05 PM
There are no equivalents to either:

AutoRedraw is done by you - you have to tell the picturebox to redraw when it has been Invalidated.
hDC, why would you even need it, unless you're doing BitBlt (you could use GDI+ instead)
ScaleMode - they're in pixels - you'll have to do the math if you want anything else.
:)

netpicker9
10-24-2006, 06:35 PM
Hi,

Thanks for reply..

Example please.

Iceplug
10-25-2006, 05:07 AM
Of what? Have you tried any of my suggestions yet?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum