What is the maximum size of a picturebox?

I have a large panoramic image I am trying to display in a picture box, but the right side is getting cut off. I have looked for different ways to manipulate the picturebox and picture, but I think I have reached a limitation in the PictureBox Control. Does anyone know the Maximum width of a picturebox?
TechNeckAsked:
Who is Participating?
 
BurbbleConnect With a Mentor Commented:
Using this:


Private Sub Timer1_Timer()
    Picture1.Width = Picture1.Width + 1500
    Me.Caption = Picture1.Width
End Sub


I found the maximum width and maximum height both to be 245,745 twips (16,383 x 16,383 pixels, or (2^14 -- 1) )
0
 
TechNeckAuthor Commented:
Thanks for your assistance. I couldn't find any reference to this anywhere. Didn't even think about creating a routine like you did. Thanks!
0
 
BurbbleCommented:
Glad to help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.