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



converter
AnnUnitConverter object to be used in converting the x-coordinate.
unit
Destination AnnUnit.
converter
AnnUnitConverter object to be used in converting the x-coordinate.
unit
Destination AnnUnit.
Returns the value of the vertical component of this AnnSize structrue, in the specified AnnUnit unit of measure.

Syntax

Visual Basic (Declaration) 
Public Function ConvertedHeight( _
   ByVal converter As AnnUnitConverter, _
   ByVal unit As AnnUnit _
) As Single
Visual Basic (Usage)Copy Code
Dim instance As AnnSize
Dim converter As AnnUnitConverter
Dim unit As AnnUnit
Dim value As Single
 
value = instance.ConvertedHeight(converter, unit)
C# 
public float ConvertedHeight( 
   AnnUnitConverter converter,
   AnnUnit unit
)
C++/CLI 
public:
float ConvertedHeight( 
   AnnUnitConverter^ converter,
   AnnUnit unit
) 

Parameters

converter
AnnUnitConverter object to be used in converting the x-coordinate.
unit
Destination AnnUnit.

Return Value

The vertical component of this AnnSize structure, in the specified AnnUnit unit of measure.

Example

For an example, refer to ConvertedWidth.

Remarks

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).

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