Skip to main content

BaseUnitsConverter<T>.GetTransform(T, T) Method

Obtains a delegate function that performs the conversion.

Namespace: DevExpress.UnitConversion

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public Func<double, double> GetTransform(
    T from,
    T to
)

Parameters

Name Type Description
from T

Measurement unit of the source value.

to T

Measurement unit of the target value.

Returns

Type Description
Func<Double, Double>

A delegate method that performs the conversion.

See Also