Search
IMeasureUnitConverter.CanConvertTo Method
See Also
 





Returns a value indicating whether this converter can convert from the specified source unit to the specified target unit.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

bool CanConvertTo (
    MeasureUnit sourceUnit,
    MeasureUnit targetUnit
)

Visual Basic  Copy Code

Function CanConvertTo( _
    sourceUnit As MeasureUnit, _
    targetUnit As MeasureUnit _
) As Boolean

 Parameters

sourceUnit

The source MeasureUnit instance.

targetUnit

The target MeasureUnit instance.

 Return Value

true if conversion between the specified units is supported, or false otherwise.

 See Also