473,231 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

picturebox image does not have a Location ??

During debug I noticed that a picturebox image does not have a Location

Is the image object always located at the upper left of the clientsize of
the picturebox.

If the picturebox clientsize is bigger then the image size the background
always shows at the lower and/or right??

If the clientsize is smaller the clipping occurs at the right and/or
bottom??

Thanks
Feb 4 '06 #1
2 2175
WRH
Hello
Look at eg pictureBox1.SizeMode; the default is PictureBoxSizeMode.Normal
(origin of image upper left) but you can change it to CenterImage,
StretchImage
etc..

" **Developer**" <RE*************@a-znet.com> wrote in message
news:ux*************@TK2MSFTNGP12.phx.gbl...
During debug I noticed that a picturebox image does not have a Location

Is the image object always located at the upper left of the clientsize of
the picturebox.

If the picturebox clientsize is bigger then the image size the background
always shows at the lower and/or right??

If the clientsize is smaller the clipping occurs at the right and/or
bottom??

Thanks

Feb 5 '06 #2
I'll check that out.

Thanks

"WRH" <no*****@videotron.ca> wrote in message
news:O5**************@TK2MSFTNGP15.phx.gbl...
Hello
Look at eg pictureBox1.SizeMode; the default is PictureBoxSizeMode.Normal
(origin of image upper left) but you can change it to CenterImage,
StretchImage
etc..

" **Developer**" <RE*************@a-znet.com> wrote in message
news:ux*************@TK2MSFTNGP12.phx.gbl...
During debug I noticed that a picturebox image does not have a Location

Is the image object always located at the upper left of the clientsize of
the picturebox.

If the picturebox clientsize is bigger then the image size the background
always shows at the lower and/or right??

If the clientsize is smaller the clipping occurs at the right and/or
bottom??

Thanks


Feb 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Charles A. Lackman | last post by:
Hello, I am trying to rotate a picturebox control. I have done some experimenting with rotating the image inside the picturebox, but I am trying to get the affect of grabbing the corner of the...
0
by: akh | last post by:
I want to use de Drag and Drop ´s event to move a picture box from a form and within a Picture Box. But I have behaviour if the MyPBox As PictureBox as the Globale varible or not Thanks for...
5
by: Christopher Kurtis Koeber | last post by:
Dear All, This may sound like an elementary question but how do you implement scrollbars for the Picturebox control. Do I have to create my own code to do this or is there some property that I can...
2
by: kalp suth via DotNetMonster.com | last post by:
I want to create arrows using lines on a picture in the picture box. On clicking the button "btnShowAll", the image is loaded and the lines drawn. "RGSShowAll()" calls "DrawObjs()" which does the...
3
by: Tom | last post by:
I have a picturebox on my VB.NET form. The picturebox size mode is set to stretched. I then load an image into that form and display it. As the user moves the mouse over the form, I want to get and...
0
by: Ricardo Furtado | last post by:
I'm developing a drawing software in visual basic .Net and i need to copy the image that exists in a picturebox and automaticaly paste it in another picturebox as being part of that other image....
4
by: munibe | last post by:
Hi, i have a problem about picturebox control. if you may help me, i will be so happy. i have a picturebox named pic_map, and i added a button named customer_button, my wish is to add a new small...
4
by: Jim McGivney | last post by:
In C# on Form1 I genetate an array of PictureBoxes and populate each with an image as seen in the code below. Later on I want to access a specific PictureBox to change its image, but I keep...
5
by: AWW | last post by:
XP VB 2005 running an example from help that creates a picturebox in code - the picturebox is not created. If I comment out the "Dim Box as New PictureBox" and create it in Design mode - the...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.