hi guys,
if I have a form with, say, a picturebox in it. The picturebox is loaded with an image, and I need to copy just a section of it, say at rectangular points, X, Y, L and W to the clipboard, or to another picturebox. Is it possible in VB6?
Rombosia 0 Newbie Poster
Recommended Answers
Jump to PostHi,
You can also use PaintPicture () to get the portion of image
Code
Option Explicit Dim iX As Integer, iY As Integer, iHeight As Integer, iWidth As Integer Private Sub cmdCopy_Click() 'Set Destination Picture box width and Height picDest.Width = iWidth picDest.Height = iHeight …
All 3 Replies
Comatose 290 Taboo Programmer Team Colleague
selvaganapathy 31 Posting Pro
Comatose commented: Fantastic! Keep up the great work. +10
Rombosia 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.