473,394 Members | 1,845 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,394 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 2181
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.