0

I am working in a VB6 to DotNet Migration project.Here in our VB 6 project they are calculating the some mouse move events in Twips, but when it is converted in VB.NET is giving the mouse move values as pixels.Does the twips is Supported in .NET?

Can any one tell me ?

Hemant Kumar
  • 4,593
  • 9
  • 56
  • 95

1 Answers1

5

From the sources I can find, Twips is not supported in .NET. There are some compatibility extensions, but I think the best approach is to refactor the twips out to use the .NET pixels instead. The refactoring is a pain, but in the long run, the project will just work better.

Twips and .NET

VB .NET Switches to Pixel from Twip

Someone else may have more information that I've missed.

Andrew Grothe
  • 2,562
  • 1
  • 32
  • 48