The ConvertTo Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- Specifies the destination AnnUnit for the conversion.
Visual Basic (Declaration) | |
---|---|
Public Function ConvertTo( _ ByVal converter As AnnUnitConverter, _ ByVal unit As AnnUnit _ ) As AnnPoint |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnPoint Dim converter As AnnUnitConverter Dim unit As AnnUnit Dim value As AnnPoint value = instance.ConvertTo(converter, unit) |
C# | |
---|---|
public AnnPoint ConvertTo( AnnUnitConverter converter, AnnUnit unit ) |
C++/CLI | |
---|---|
public: AnnPoint ConvertTo( AnnUnitConverter^ converter, AnnUnit unit ) |
Parameters
- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- Specifies the destination AnnUnit for the conversion.
Return Value
An AnnPoint structure containing the converted value of this AnnPoint.For an example, refer to Equality.
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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7