How to stretch picture in a picture box
Posted on January 4, 2009
1 2 3 4 5 6 7 8 9 10 11 | 'Controls - How to stretch picture in a picture box Public Sub ZoomPicture(pct As PictureBox, zoom As Double) With pct .Width = .Width * zoom .Height = .Height * zoom .PaintPicture .Picture, 0, 0, .ScaleWidth, .ScaleHeight End With End Sub 'How can I use this function: 'Call ZoomPicture Picture1, 1.1 |