CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Location
    Greece, Athens
    Posts
    1

    A4 to form proportion

    Hello there,

    I have a problem with a project of me. I don’t know the proportion between the A4 paper size and the correct size of a VB form. I want to print a VB form on A4 paper (all the form – all the paper). Is there any function for something like this? If someone knows it please help me

    Best regards,

    Alexandros Charovas
    Greece
    e-mail: [email protected]



  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: A4 to form proportion

    Well, a A4 page is 21 cm in width, and 29.7 cm in height. By setting the scalemode property to millimeters, and then arranging your controls (this is then done in mm in stead of twips), you can get it the way it (should) look on a paper.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured