473,399 Members | 2,478 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,399 software developers and data experts.

C# Picture Box help needed.

Hi there, first post hehe. I am trying to create a picture in which I can open an image I want, then, click on a point on the image and add another image at that point. I am able to store the coordinates of the point but not to draw my image on open one. Please help me! Thanks!
Apr 22 '08 #1
3 1038
Plater
7,872 Expert 4TB
You will need to get at the Graphics object and use it's methods to draw additional images.
Now it's probably a good idea that you maintain "what images need to be drawn" somewhere. Because in order to keep the drawn images, you'll need to add code to the Paint event of your picturebox (which will give you the Graphics object too) to draw the images.
Apr 22 '08 #2
I created an Image variable in which I am loading the picture to be 'painted' on the original image. Now, I will probably save the points inside a database, load them onto an Arraylist then paint them all together! What would you say?
Apr 22 '08 #3
Plater
7,872 Expert 4TB
Sounds like it would work, have you tried it out?
Apr 23 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Chris Coho, Jr. | last post by:
Ok, I'll explain the whole problem because there may be several ways to solve this and hopefully someone knows one. What I'm doing is creating a specialty template editor, similar to say a corel...
4
by: DraguVaso | last post by:
Hi, In my application I receive a Byte Stream (Dim bytFile() As Byte) which contains a jpeg-picture, which I want to display in a picturebox. I want to display it directly from the bytfile()...
3
by: Kamyk | last post by:
Hello all! I would like to open a new window with a picture after clicking on a shrinked picture which is located on the main page. I want this new window to be exactly sized as original...
3
by: Alfred | last post by:
Hi I use the following to open a jpeg file Application.FollowHyperlink myURL, , True My problem is that it opens the picture and then it opens explorer over the picture. Is there another...
2
by: Gamesetal | last post by:
I need to include a picture / photograph in a Db then from a query export to Excel - picture included - I just can't find a way through this - can anyone please help? TIA JOhn
3
by: Jim S. | last post by:
ok, am trying to do a picture preview before i upload a picture, but i have a tiny problem , it used to work but, not anymore. here is the partial code (u do not need more to find the problem):...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
1
by: mclewell | last post by:
I would like to start off by saying i'm in no way an expert by any means. I've had access since 97 and way back then set up a database for eBay stock. i had the old micrografx picture publisher...
17
by: merrily | last post by:
Read in one forum the question someone asked after successfully (sort of) installing Picture It 2000 on new computer with Vista. Will this person or any other help me accomplish this install on...
13
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am not accustomed to creating xml files programmatically. The big picture is this: This will be in VB/VS 2005/ winforms. I have a DTD, a sample XML, and an outside data source I will use to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.