LEADTOOLS Annotations (Leadtools.Annotations assembly)

ConvertTo Method (AnnSize)

Show in webframe





Specifies the AnnUnitConverter object to be used in the conversion.
AnnUnit value that indicates the units to which to convert this AnnSize structure.
Converts this AnnSize structure to the specified units, and returns a new AnnSize structure.
Syntax
public AnnSize ConvertTo( 
   AnnUnitConverter converter,
   AnnUnit unit
)
'Declaration
 
Public Function ConvertTo( _
   ByVal converter As AnnUnitConverter, _
   ByVal unit As AnnUnit _
) As AnnSize
'Usage
 
Dim instance As AnnSize
Dim converter As AnnUnitConverter
Dim unit As AnnUnit
Dim value As AnnSize
 
value = instance.ConvertTo(converter, unit)

            

            
public:
AnnSize ConvertTo( 
   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.

Return Value

An AnnSize structure containing the converted value of this AnnSize structure.
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.
Example
For an example, refer to Equality.
Requirements

Target Platforms

See Also

Reference

AnnSize Structure
AnnSize Members

 

 


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