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

ConvertedWidth Method (AnnRectangle)






AnnUnitConverter object to be used in converting the value.
Destination AnnUnit value indicating the unit of measure.
Returns the value for the width of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure.
Syntax
public float ConvertedWidth( 
   AnnUnitConverter converter,
   AnnUnit unit
)
'Declaration
 
Public Function ConvertedWidth( _
   ByVal converter As AnnUnitConverter, _
   ByVal unit As AnnUnit _
) As Single
'Usage
 
Dim instance As AnnRectangle
Dim converter As AnnUnitConverter
Dim unit As AnnUnit
Dim value As Single
 
value = instance.ConvertedWidth(converter, unit)
public float ConvertedWidth( 
   AnnUnitConverter converter,
   AnnUnit unit
)
 function Leadtools.Annotations.AnnRectangle.ConvertedWidth( 
   converter ,
   unit 
)
public:
float ConvertedWidth( 
   AnnUnitConverter^ converter,
   AnnUnit unit
) 

Parameters

converter
AnnUnitConverter object to be used in converting the value.
unit
Destination AnnUnit value indicating the unit of measure.

Return Value

A value for the width of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure.
Remarks
The 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 ConvertedLeft.
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.