Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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