←Select platform

ConvertTo Method

Summary

Converts this AnnRectangle structure with the specified unit of measure to another AnnRectangle structure.

Syntax

C#
VB
C++
  
Public Function ConvertTo( _ 
   ByVal converter As Leadtools.Annotations.AnnUnitConverter, _ 
   ByVal unit As Leadtools.Annotations.AnnUnit _ 
) As Leadtools.Annotations.AnnRectangle 

Parameters

converter
Specifies the AnnUnitConverter object to be used in the conversion.

unit
Specifies the destination AnnUnit value for the unit of measure for the conversion.

Return Value

An AnnRectangle structure containing the converted values of this AnnRectangle structure.

Remarks

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

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