Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Convert Method
See Also 
Leadtools.Annotations Namespace > AnnSize Structure : Convert Method



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.
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.
Converts this AnnSize structure to the specified unit.

Syntax

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.

Example

For an example, refer to AnnSize.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features