Results 1 to 2 of 2

Thread: PictureBox coordinates

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Post

    As far as I know you can't change the origin point. The Height and Width properties are relative to the scalemode of the container (usually a form). But I assume that you are interested of changing the picturebox scalemode. You can set the ScaleHeight and ScaleWidth of the picturebox to any value that you desire. These values are used when you draw on the picturebox (with the Line method for example).

    Good luck!

    ------------------
    Joacim Andersson
    [email protected]
    [email protected]
    www.YellowBlazer.com




    [This message has been edited by Joacim Andersson (edited 11-09-1999).]

  2. #2
    Hyperactive Member
    Join Date
    May 1999
    Location
    Reynosa, Mexico
    Posts
    274

    Post

    The natural origin point (0,0) into a PictureBox is in upper left corner.

    How can I set this origin point (0,0) to bottom left corner? and how can I set the height value to another value I want?

    Thanks!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width