CodeItBetter Programming Another VB Programming Blog

How to Display an image on the current form, zooming it by a factor of 4 along the X-axis, and 8 along the Y-axis.

Posted on January 4, 2009
1
2
3
4
5
'Controls - How to Display an image on the current form, zooming it by a factor of 4 along the X-axis, and 8 along the Y-axis.
With ImageList1
    Me.PaintPicture .ListImages("Cut").Picture, 0, 0, ScaleX(.ImageWidth, vbPixels) * 4, _
        ScaleY(.ImageHeight, vbPixels) * 8
End With
Filed under: Controls Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.