Table of Contents

Method ConvertMeasurement

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

ConvertMeasurement(double, MeasurementUnit, MeasurementUnit, double, MeasurementUnit)

public static double ConvertMeasurement(double sourceLength, MeasurementUnit sourceUnits, MeasurementUnit basisDpuUnits, double basisDpu, MeasurementUnit resultDpuUnits)

Parameters

sourceLength double
sourceUnits MeasurementUnit
basisDpuUnits MeasurementUnit
basisDpu double
resultDpuUnits MeasurementUnit

Returns

double