🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #372

Function for eliminate this VB function Microsoft.VisualBasic.Compatibility.VB6.Support.PixelsToTwipsX(pictureBox1.Width)

#372
From: dfagnan
Date: Mon, 04 Apr 2005 23:38
22 lines
1732 bytes
I used Delphi2005
I need Microsoft.VisualBasic.Compatibility.VB6.Support.dll to used this
example
where to find this reference or  better a C# or Pascal
for function like I just need equivalent of this function
 PixelsToTwipsX
TwipsPerPixelX()
PixelsToTwipsY(pictureBox1.Height)
TwipsPerPixelY()
IPictureDispToImage(pic.Picture);



 pic.PictureWidth =
Microsoft.VisualBasic.Compatibility.VB6.Support.PixelsToTwipsX(pictureBox1.W
idth) / Microsoft.VisualBasic.Compatibility.VB6.Support.TwipsPerPixelX();
    // pic.PictureHeight =
Microsoft.VisualBasic.Compatibility.VB6.Support.PixelsToTwipsY(pictureBox1.H
eight) / Microsoft.VisualBasic.Compatibility.VB6.Support.TwipsPerPixelY();
     // pictureBox1.Image  =
Microsoft.VisualBasic.Compatibility.VB6.Support.IPictureDispToImage(pic.Pict
ure);
Technical Details
Message-ID: <4251d02d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,b40ecb04cffe15c9,start
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "dfagnan" <dfagnan@videotron.ca>
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: Function    for  eliminate this  VB function   Microsoft.VisualBasic.Compatibility.VB6.Support.PixelsToTwipsX(pictureBox1.Width) 
Date: Mon, 4 Apr 2005 19:38:59 -0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
NNTP-Posting-Host: 24.201.182.182
Message-ID: <4251d02d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112657965 24.201.182.182 (4 Apr 2005 16:39:25 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail