473,799 Members | 2,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get a part/copy of an imagebox

jr
Hi,

I need to place a part from an existing image into an other image control.
How can I do this.

ex
image is 300X300 picels
split it into 3X3
and I need the middle rectangle

Jan
Nov 21 '05 #1
4 1161
Jr,

You mean using this?

http://msdn.microsoft.com/library/de...magetopic5.asp

There are a load of overloaded other methods with this.

I hope this helps?

Cor

"jr" <xx***@xx.xx>

I need to place a part from an existing image into an other image
control. How can I do this.

ex
image is 300X300 picels
split it into 3X3
and I need the middle rectangle

Jan

Nov 21 '05 #2
"jr" <xx***@xx.xx> schrieb:
I need to place a part from an existing image into an other image
control.


<URL:http://www.dotnetrix.c o.uk/misc.html>
-> "Save the Image currently displayed in a PictureBox."

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3
jr
thanks that will help

Jan
"Cor Ligthert" <no************ @planet.nl> schreef in bericht
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Jr,

You mean using this?

http://msdn.microsoft.com/library/de...magetopic5.asp

There are a load of overloaded other methods with this.

I hope this helps?

Cor

"jr" <xx***@xx.xx>

I need to place a part from an existing image into an other image
control. How can I do this.

ex
image is 300X300 picels
split it into 3X3
and I need the middle rectangle

Jan


Nov 21 '05 #4
jr
I'm back.
I try this but it always copy the part to the same image. I need it into
another image control

Jan

"jr" <xx***@xx.xx> schreef in bericht
news:ok******** *************@p hobos.telenet-ops.be...
thanks that will help

Jan
"Cor Ligthert" <no************ @planet.nl> schreef in bericht
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Jr,

You mean using this?

http://msdn.microsoft.com/library/de...magetopic5.asp

There are a load of overloaded other methods with this.

I hope this helps?

Cor

"jr" <xx***@xx.xx>

I need to place a part from an existing image into an other image
control. How can I do this.

ex
image is 300X300 picels
split it into 3X3
and I need the middle rectangle

Jan



Nov 21 '05 #5

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

Similar topics

5
2187
by: Sibylle Koczian | last post by:
Hello, I thought I understood list slices, but I don't. I want to sort only the last part of a list, preferably in place. If I do >>> ll = >>> ll.sort() >>> ll
2
1452
by: cyshao | last post by:
I opened an image and want to change its size, then display it in a ImageBox. How can I do that ? Thanks Charles Shao
4
6035
by: pedagani | last post by:
I want to copy only a part of the binary file delimited by offset values say START_OFFSET_ & END_OFFSET_ which can be as huge as a 50 Giga. Below is the program where I could set a START_OFFSET_ but could not specify the END_OFFSET_ value. Any thoughts? Please advise. Thanks. #include <fstream> #include <iostream> #include <algorithm> #include <ios>
0
1770
by: milkyman | last post by:
Hi everyone, Hope you can help me with this. I want to know if there is a way to copy a part of an Excel worksheet en put this as an picture in a picturebox. So if have got a Excel sheet(called Sheet1) and it contains some info. I want to select range A1:C12 and put a copy of this range in a picturebox i made on a UserForm. Is this posible and how do i do this. Thanks for helping me....
5
4501
by: Ajith Menon | last post by:
I want to copy a part of the windows form into clipboard as .bmp file. The usecase is the user drags using the mouse and creates a rectangular selection any where on the form. This part has to be copied into clipboard. Can anybody help me in implementing this using C#? Thanks, Ajith
13
5023
by: blangela | last post by:
I have decided (see earlier post) to paste my Word doc here so that it will be simpler for people to provide feedback (by directly inserting their comments in the post). I will post it in 3 parts to make it more manageable. Below is a draft of a document that I plan to give to my introductory C++ class. Please note that I have purposely left out any mention of safety issues in the ctors which could be resolved thru some combination...
1
2124
by: blangela | last post by:
3.0 Advanced Topic Addendum There are a few cases where the C++ compiler cannot provide an overloaded assignment operator for your class. If your class contains a const member or/and a reference member, the compiler will not be able to synthesize an assignment operator for your class. It actually helps to think of a reference member as a const member (since it cannot be made to reference any other object once it has been initialized). ...
1
2704
by: ApexData | last post by:
I have an ImageBox with PictureType set to LINK. I have a string with a path strPicFolderPath = "C:\Pictures" In the OnCurrent event of the form I have this code: If Len(Nz(Me.txtPHOTOFILENAME.Value, "")) <0 Then 'File name exists If Len(Dir$(strPicFolderPath + Me!)) <0 Then 'File found Me!.Picture = strPicFolderPath +
1
1447
by: Sumamadhavanitpark | last post by:
1.loading image in to imagebox using http 2. help for ADrotator
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9538
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10219
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9068
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7563
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5461
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5584
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4138
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.