←Select platform

ConvertTo Method

Summary

Converts this AnnSize structure to the specified units, and returns a new AnnSize structure.

Syntax

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

Parameters

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

unit
AnnUnit value that indicates the units to which to convert this AnnSize structure.

Return Value

An AnnSize structure containing the converted value of this AnnSize structure.

Remarks

The AnnUnitConverter object specified in converter is used to do the actual conversion. If converter is null (Nothing in VB), the default AnnUnitConverter performs the conversion, using 96 DPI.

Example

For an example, refer to Equality.

Requirements

Target Platforms

See Also

Reference

AnnSize Structure

AnnSize Members

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

Leadtools.Annotations Assembly