Results 1 to 2 of 2

Thread: VB6 - Twip-Pixel conversion.

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Toronto, Ontario
    Posts
    242

    VB6 - Twip-Pixel conversion.

    I've seen a couple of threads asking for the formula to convert Twips into Pixels and decided to whip up a simple app to do it.

    Nothing special but hope it helps someone out there!
    -EM
    Attached Files Attached Files
    ---
    REMEMBER: If your issue is resolved, use the Thread Tools menu to set it as such, and be sure to rate the posts that help you the most!


    Just because I was jealous of g4hsean!

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: VB6 - Twip-Pixel conversion.

    Note that one can also use VB's ScaleX, ScaleY to do the conversions from any scalemode to any other scalemode. The downside, if it is one, is that you need a specific object to use ScaleX,ScaleY. These objects are a form, usercontrol, picturebox or property page, so, those functions cannot be called directly from within a class or module.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

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