Search
IMeasureUnitConverter.CanConvertFrom Method
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

bool CanConvertFrom (
    MeasureUnit targetUnit,
    MeasureUnit sourceUnit
)

Visual Basic  Copy Code

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

 Parameters

targetUnit

The target MeasureUnit instance.

sourceUnit

The source MeasureUnit instance.

 Return Value

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

 See Also