Visual Basic (Declaration) | |
---|---|
Public Sub Convert( _ ByVal converter As AnnUnitConverter, _ ByVal unit As AnnUnit _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Convert( AnnUnitConverter converter, AnnUnit unit ) |
Managed Extensions for C++ | |
---|---|
public: void Convert( AnnUnitConverter* converter, AnnUnit unit ) |
C++/CLI | |
---|---|
public: void Convert( AnnUnitConverter^ converter, AnnUnit unit ) |
Parameters
- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- Specifies the destination AnnUnit value for the unit of measure for the conversion.
For an example, refer to the AnnRectangle.
converter is used to do the actual conversion. If converter is null (Nothing in Visual Basic), the default AnnUnitConverter is used (in other words, conversion will be done based on the default 96 DPI).
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