LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.

The ConvertVertical Method is available in LEADTOOLS Document and Medical Imaging toolkits.

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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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