LEADTOOLS Annotations (Leadtools.Annotations assembly)

ConvertTo Method (AnnRectangle)

Show in webframe





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

            

            
public:
AnnRectangle ConvertTo( 
   AnnUnitConverter^ converter,
   AnnUnit unit
) 

Parameters

converter
Specifies the AnnUnitConverter object to be used in the conversion.
unit
Specifies the destination AnnUnit value for the unit of measure for the conversion.

Return Value

An AnnRectangle structure containing the converted values of this AnnRectangle structure.
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

AnnRectangle Structure
AnnRectangle Members

 

 


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