Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Corp an Image in VB 6.0

Corp an Image in VB 6.0

Scheduled Pinned Locked Moved Visual Basic
helptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    miftha
    wrote on last edited by
    #1

    I want to corp an image iin VB 6.0 by giving the coordinates of the place I need to corp and want to save it to another place. Any one knows how to do it.Please help A,Miftha Idroos Trainee Software Engineer. HNB. Sri Lanka

    B 1 Reply Last reply
    0
    • M miftha

      I want to corp an image iin VB 6.0 by giving the coordinates of the place I need to corp and want to save it to another place. Any one knows how to do it.Please help A,Miftha Idroos Trainee Software Engineer. HNB. Sri Lanka

      B Offline
      B Offline
      bskirkman
      wrote on last edited by
      #2

      Just .NET code but it may help: Bitmap newone = new Bitmap(100,100); Graphics g4 = Graphics.FromImage(newone); System.Drawing.Rectangle dstRect = new System.Drawing.Rectangle(0, 0 ,100, 100); g4.DrawImage(screenGrab, dstRect, 30,40,100,100,System.Drawing.GraphicsUnit.Pixel); newone.Save("C:/thenewone.bmp");

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups