CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: StdPicture

  1. #1
    Join Date
    Jul 2000
    Location
    Slovenia
    Posts
    77

    StdPicture

    Hi all

    StdPicture has Width & Height properties. They are measured in OLE_XSIZE_HIMETRIC & OLE_YSIZE_HIMETRIC units. Does anyone know how could I convert those units in pixels?

    Thanks, thinman




  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: StdPicture

    Me.ScaleX width, vbHimetric, vbPixels

    where me is any form object


    HTH

    cksiow
    http://vblib.virtualave.net - share our codes

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