←Select platform

ConvertedTop Method

Summary

Returns the value of the top edge of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure.

Syntax

C#
VB
C++
public float ConvertedTop( 
   AnnUnitConverter converter, 
   AnnUnit unit 
) 
  
Public Function ConvertedTop( _ 
   ByVal converter As Leadtools.Annotations.AnnUnitConverter, _ 
   ByVal unit As Leadtools.Annotations.AnnUnit _ 
) As Single 

Parameters

converter
AnnUnitConverter object to be used in converting the value.

unit
Destination AnnUnit value indicating the unit of measure.

Return Value

A value for the top edge of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure .

Remarks

The converter is used to do the actual conversion. If converter is null (Nothing in VB), the default AnnUnitConverter is used (in other words, conversion will be done based on the default 96 DPI).

Example

For an example, refer to ConvertedLeft.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly