| Overload | Description |
|---|---|
| Convert(Single,AnnUnit,AnnUnit) | Converts a value from one unit to another. |
| Convert(Single,AnnAngularUnit,AnnAngularUnit) | Converts an angular value from one unit to another. |
This example converts a value of 200 pixels to inches at 96 DPI.
| Visual Basic | Copy Code |
|---|---|
Public Sub AnnUnitConverter_Convert() | |
| C# | Copy Code |
|---|---|
public void AnnUnitConverter_Convert() | |
This method uses the default DPI value of 96.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family