The Convert Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- AnnUnit value that indicates the units to which to convert this AnnSize structure.
Visual Basic (Declaration) | |
---|---|
Public Sub Convert( _ ByVal converter As AnnUnitConverter, _ ByVal unit As AnnUnit _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnSize Dim converter As AnnUnitConverter Dim unit As AnnUnit instance.Convert(converter, unit) |
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
- AnnUnit value that indicates the units to which to convert this AnnSize structure.
For an example, refer to AnnSize.
The AnnUnitConverter object specified in converter is used to do the actual conversion. If converter is null (Nothing in Visual Basic), the default AnnUnitConverter performs the conversion, using 96 DPI.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7