Article View: borland.public.csharpbuilder.language.csharp
Article #373Re: Function for eliminate this VB function Microsoft.VisualBasic.Compatibility.VB6.Support.PixelsToTwipsX(pictureBox1.Wi...
From: Marc Rohloff TeamB
Date: Tue, 05 Apr 2005 01:15
Date: Tue, 05 Apr 2005 01:15
21 lines
1983 bytes
1983 bytes
On Mon, 4 Apr 2005 19:38:59 -0400, dfagnan wrote: > 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); This is a longhorn compatibility dll so I don't know what you are going to find, however I suggest you get a copy of Lutz Roeder's Reflector (www.aisto.com/roeder/dotnet) which will allow you to look inside the dll and decompile sections into delphi or C#. -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID:
<49pggerc9bs1$.dlg@marcrohloff.40tude.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4251d02d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,b40ecb04cffe15c9 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: Function for eliminate this VB function Microsoft.VisualBasic.Compatibility.VB6.Support.PixelsToTwipsX(pictureBox1.Width) Newsgroups: borland.public.csharpbuilder.language.csharp User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <4251d02d$1@newsgroups.borland.com> Date: Mon, 4 Apr 2005 21:15:40 -0400 Message-ID: <49pggerc9bs1$.dlg@marcrohloff.40tude.net> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR X-Antivirus: avast! (VPS 0513-2, 04/01/2005), Outbound message X-Antivirus-Status: Not-Tested NNTP-Posting-Host: 4.131.34.19 X-Trace: newsgroups.borland.com 1112663489 4.131.34.19 (4 Apr 2005 18:11:29 -0800) Lines: 21 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail