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

ConvertVertical Method






Value to be converted. This is in srcUnit units.
Source AnnUnit.
Destination AnnUnit.
Converts a value from one unit to another using the vertical DPI value of this class.
Syntax
public float ConvertVertical( 
   float value,
   AnnUnit srcUnit,
   AnnUnit destUnit
)
'Declaration
 
Public Function ConvertVertical( _
   ByVal value As Single, _
   ByVal srcUnit As AnnUnit, _
   ByVal destUnit As AnnUnit _
) As Single
'Usage
 
Dim instance As AnnUnitConverter
Dim value As Single
Dim srcUnit As AnnUnit
Dim destUnit As AnnUnit
Dim value As Single
 
value = instance.ConvertVertical(value, srcUnit, destUnit)
public float ConvertVertical( 
   float value,
   AnnUnit srcUnit,
   AnnUnit destUnit
)
 function Leadtools.Annotations.AnnUnitConverter.ConvertVertical( 
   value ,
   srcUnit ,
   destUnit 
)
public:
float ConvertVertical( 
   float value,
   AnnUnit srcUnit,
   AnnUnit destUnit
) 

Parameters

value
Value to be converted. This is in srcUnit units.
srcUnit
Source AnnUnit.
destUnit
Destination AnnUnit.

Return Value

The converted value.
Example
For an example, refer to ConvertHorizontal.
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

AnnUnitConverter Class
AnnUnitConverter Members

 

 


Products | Support | Contact Us | Copyright Notices

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