LEADTOOLS Annotations (Leadtools.Annotations assembly)

ConvertTo Method (AnnPoint)

Show in webframe





Specifies the AnnUnitConverter object to be used in the conversion.
Specifies the destination AnnUnit for the conversion.
Converts this AnnPoint with the specified unit to another AnnPoint.
Syntax
public AnnPoint ConvertTo( 
   AnnUnitConverter converter,
   AnnUnit unit
)
'Declaration
 
Public Function ConvertTo( _
   ByVal converter As AnnUnitConverter, _
   ByVal unit As AnnUnit _
) As AnnPoint
'Usage
 
Dim instance As AnnPoint
Dim converter As AnnUnitConverter
Dim unit As AnnUnit
Dim value As AnnPoint
 
value = instance.ConvertTo(converter, unit)

            

            
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.
Remarks
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).
Example
For an example, refer to Equality.
Requirements

Target Platforms

See Also

Reference

AnnPoint Structure
AnnPoint Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.