picturebox Questions

4

Solved

How do I draw a circle and line in the picturebox?
Laddy asked 28/4, 2010 at 13:22

2

Solved

In my Windows Forms program, I have a PictureBox that contains a small image, 5 x 5 pixels. When this Bitmap is assigned to the PictureBox.Image property, it becomes very blurry. I tried to find so...
Shuma asked 16/2, 2019 at 7:35

2

Solved

I'm determining the rectangular area in an image and showing it to the user in a PictureBox. Since the image can sometimes be very large, I'm using a PictureBox with its SizeMode set to Zoom. I'm u...
Horsey asked 16/12, 2018 at 7:38

1

Solved

I'm using the following code to draw a selection rectangle over a picturebox and allow the user to select and drag it to the desired position. What I intend to achieve is to allow the user to adju...
Ful asked 13/12, 2018 at 7:32

5

Solved

I want to load an image into a PictureBox. This is the image I want to load: http://www.gravatar.com/avatar/6810d91caff032b202c50701dd3af745?d=identicon&r=PG How do I do this?
Dominquedominquez asked 1/11, 2010 at 16:44

3

Solved

I have a winform application which has a dynamic number (based on a database value) of PictureBoxes. Each P-Box has a Tooltip control. How can I change the ToolTip Text without having any memory l...
Ariellearies asked 30/8, 2011 at 3:57

2

Solved

I am creating an application in which I can move the Labels that are on a PictureBox. The problem is that I want these to only Labels move inside the PictureBox. Here is my code: protected void lbl...
Dusty asked 15/11, 2018 at 9:32

3

Solved

I'm currently making a game where the player will click on one of his units (which are pictureboxes) and a circle will become visible with the player's unit in the center. (Circle is also a picture...
Stubborn asked 14/8, 2011 at 5:29

3

Solved

I am trying to display icon file in a picture box. I'm using this code to set the image. pictureBox1.Image = new Icon(openFileDialog.FileName, new Size(48, 48)).ToBitmap(); But I'm getting this ...
Tarpon asked 3/4, 2013 at 8:55

3

Solved

How can I center an image in a picturebox as I resize the form? What I have is a picturebox in a panel so if the image is larger than the picturebox, I can get scrollbars on the panel. But this doe...
Scree asked 30/7, 2011 at 11:25

3

Solved

I have a project in C#, WindowsForms and I created a panel that contains a pictureBox that is much bigger than his parent. I turned panel.AutoScroll to true and what I want to do is dragging this...
Slavic asked 22/12, 2009 at 0:51

4

Solved

How to round edges in picturebox control. I Want to get angles like ellipse have but i dont know how to do it. I Use C#. Thanks!
Inspiration asked 11/10, 2011 at 20:6

1

Solved

I've a PictureBox in my form and load a image in it. I need this PictureBox to change the transparency (opacity, visibilit..etc), because I need the user to see the image behind this PictureBox be...
Combo asked 25/6, 2017 at 19:36

4

Solved

Ok so I am a complete beginner and have managed to put together a small app in C# where I enter a username in a textbox and the application gets the avatar of that username and displays it in a pic...
Lilith asked 9/2, 2011 at 5:54

7

Solved

I have 2 WinForms Form2 uses Infragistics ultraTabControl. On Tab Changing im Showing Form1. In Form1 I have a PictureBox assigned with animated GIF In Form2 I am displaying Form1 like this. ...
Epigynous asked 28/3, 2012 at 10:20

4

Solved

I've tried a lot to find that how can I load an image from SQL Server to picture box but I couldn't find very much helpful material. First I saved image into the data-base with the help of followi...
Deepfreeze asked 10/11, 2011 at 18:38

4

Solved

I'm trying to make it so that an image in a PictureBox control will adjust its size automatically depending on the size of the window, but maintain the aspect ratio. So far just setting SizeMode to...
Leaseholder asked 20/3, 2013 at 21:20

2

Solved

I'm trying to make an integer array and Bitmap work in harmony as part of a C# winforms project for fast PictureBox editing (avoiding the slow SetPixel command). I added a Button and a PictureBox,...
Coinsurance asked 8/9, 2016 at 9:46

5

Solved

I understand that this question has been asked (and answered) before. However, none of the solutions are working for me. Below is a screen capture of all the relevant pieces of the puzzle: Screen...
Mllly asked 19/6, 2013 at 14:23

1

Solved

Actually, after clicking on each circle i want its color to be changed, for instance, i want it to turn into red,Overall, i wanna treat it as control. i know how to draw the circles that represent...
Lope asked 13/7, 2016 at 8:0

3

I have a image in picturebox. I want to get that image as a Bitmap. My one line code is: Bitmap default_image = (Bitmap)pictureBox5.Image.Clone(); But what i am getting is: default_image value...
Tympany asked 9/8, 2011 at 13:35

3

Solved

I have a picture box set to AutoSize so that the image forces it to grow to the image's full size. The picture box is in a panel with autoScroll = true, so that scroll bars appear when the picture...
Kidron asked 26/11, 2009 at 11:39

4

I want to set the border color/style around the picturebox on and off according to different events. Are there properties or functions that help me to achieve that aim?
Pierce asked 13/3, 2011 at 16:10

4

Solved

I have two questions: 1) I have a PictureBox and its Dock is set to Fill. When I resize the Form I cannot create a Graphic on the part of the PictureBox that is extended. What is the problem? 2) ...
Aymer asked 21/5, 2010 at 9:16

2

Solved

I'm using WinForms. In my forms I have an open and a next button. My application opens .tif images into a picturebox. All the .tif images I work with have multiple pages. The next button is for goi...
Erythroblastosis asked 19/2, 2016 at 16:49

© 2022 - 2024 — McMap. All rights reserved.