Results 1 to 4 of 4

Thread: Drawing in inches and feet

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    6

    Red face Drawing in inches and feet

    I am trying to make a drawing program that you can draw floor plans and the like with vb .net 2010.I know how to use gdi but I need to know how to draw lines that are scaled in inches and feet.Can anyone out there help me out with this problem?
    I have tried the dpi x and y but it only gives me the resolution which is 96 dpi.
    I seem to have gone brain dead trying to figure this out and it is probably as simple as can be.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Drawing in inches and feet

    Resolution and DPI are two different things. If the DPI is 96 then drawing 96 dots means that you've drawn an inch.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    6

    Re: Drawing in inches and feet

    then inches would = line length /96?

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    6

    Re: Drawing in inches and feet

    Will this work to Scale this down to 1/4 inch = 1 foot
    dim length as integer
    length = dpix/48
    I forgot to tell you that I am using vb .net 2010.

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