Nevron .NET Vision
Nevron.Diagram Namespace / NDiagramElementCollection Class / ConvertMeasurementUnit Method
measurement unit converter to use
from measurement unit
to measurement unit

In This Topic
    ConvertMeasurementUnit Method (NDiagramElementCollection)
    In This Topic
    Called when the measurement unit of the measurements stored in this node have changed and all measurements must be converted to the new unit
    Public Overrides Sub ConvertMeasurementUnit( _
       ByVal converter As NMeasurementUnitConverter, _
       ByVal from As NMeasurementUnit, _
       ByVal to As NMeasurementUnit _
    Dim instance As NDiagramElementCollection
    Dim converter As NMeasurementUnitConverter
    Dim from As NMeasurementUnit
    Dim to As NMeasurementUnit
    instance.ConvertMeasurementUnit(converter, from, to)
    public override void ConvertMeasurementUnit( 
       NMeasurementUnitConverter converter,
       NMeasurementUnit from,
       NMeasurementUnit to


    measurement unit converter to use
    from measurement unit
    to measurement unit
    Overriden to propagate the call to all contained nodes

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also