I am using a control that is used to display images.
I use this technique to paint images on my control
2005 Code:
Private Sub MultipleImageDisplayer_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim bmp As New System.Drawing.Bitmap("C:\image.jpg") e.Graphics.DrawImage(bmp, 0, 0) End Sub
The problem is that the size of the control is 300 x 300 and the image's size is 1024 x 768. Hence only a portion of the image is visible.
Even when autoscroll bar property of control is activated the scroll do not appear. I want to know how to add scroll bars to my control.




Reply With Quote