Results 1 to 3 of 3

Thread: Measurement

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Location
    England
    Posts
    3

    Measurement

    What unit of measurement does vb use
    L.G.M

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    From MSDN:

    twip
    A screen-independent, absolute unit of measurement (such as an inch or a centimeter). A twip is a unit of length equal to 1/20 of a printer's point, and a printer's point is 1/72 of an inch. There are approximately 1440 twips to a logical inch or 567 twips to a logical centimeter (the length of a screen item measuring one inch or one centimeter when printed).

    See the ScaleMode property in the help for more info about how you can change this default setting.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3
    jim mcnamara
    Guest
    You can also change the basic mesaurment unit by setting the .ScaleMode property

    Printer.ScaleMode=vbCentimeter

    makes the printer use centimeters instead of twips.

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