Converts this AnnSize structure to the specified units, and returns a new AnnSize structure.
public AnnSize ConvertTo(
AnnUnitConverter converter,
AnnUnit unit
)
Public Function ConvertTo( _
ByVal converter As Leadtools.Annotations.AnnUnitConverter, _
ByVal unit As Leadtools.Annotations.AnnUnit _
) As Leadtools.Annotations.AnnSize
public:
Leadtools.Annotations.AnnSize ConvertTo(
Leadtools.Annotations.AnnUnitConverter^ converter,
Leadtools.Annotations.AnnUnit unit
)
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.
An AnnSize structure containing the converted value of this AnnSize structure.
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.
For an example, refer to Equality.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET