LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Convert Method (AnnRectangle)






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 to one with the specified unit of measure.
Syntax
public void Convert( 
   AnnUnitConverter converter,
   AnnUnit unit
)
'Declaration
 
Public Sub Convert( _
   ByVal converter As AnnUnitConverter, _
   ByVal unit As AnnUnit _
) 
'Usage
 
Dim instance As AnnRectangle
Dim converter As AnnUnitConverter
Dim unit As AnnUnit
 
instance.Convert(converter, unit)
public void Convert( 
   AnnUnitConverter converter,
   AnnUnit unit
)
 function Leadtools.Annotations.AnnRectangle.Convert( 
   converter ,
   unit 
)
public:
void Convert( 
   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.
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 the AnnRectangle.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnRectangle Structure
AnnRectangle Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.