Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ConvertVertical Method
See Also 
Leadtools.Annotations Namespace > AnnUnitConverter Class : ConvertVertical Method



value
Value to be converted. This is in srcUnit units.
srcUnit
Source AnnUnit.
destUnit
Destination AnnUnit.
value
Value to be converted. This is in srcUnit units.
srcUnit
Source AnnUnit.
destUnit
Destination AnnUnit.
Converts a value from one unit to another using the vertical DPI value of this class.

Syntax

Visual Basic (Declaration) 
Public Function ConvertVertical( _
   ByVal value As Single, _
   ByVal srcUnit As AnnUnit, _
   ByVal destUnit As AnnUnit _
) As Single
Visual Basic (Usage)Copy Code
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)
C# 
public float ConvertVertical( 
   float value,
   AnnUnit srcUnit,
   AnnUnit destUnit
)
C++/CLI 
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features