Class MeasurementUnit
Represents a unit measurement.
Inheritance
System.Object
MeasurementUnit
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public abstract class MeasurementUnit : Object
Constructors
MeasurementUnit()
Declaration
protected MeasurementUnit()
Methods
add_UnitChangedEvent(UnitToUnitEventHandler<Double>)
Declaration
public abstract void add_UnitChangedEvent(UnitToUnitEventHandler<double> value)
Parameters
remove_UnitChangedEvent(UnitToUnitEventHandler<Double>)
Declaration
public abstract void remove_UnitChangedEvent(UnitToUnitEventHandler<double> value)
Parameters
ToPixel(Double)
Used to convert the value from unit to pixel.
Declaration
public abstract double ToPixel(double unit)
Parameters
Type |
Name |
Description |
System.Double |
unit |
|
Returns
ToUnit(Double)
Used to convert the value from pixel to unit.
Declaration
public abstract double ToUnit(double pixel)
Parameters
Type |
Name |
Description |
System.Double |
pixel |
|
Returns
Events
UnitChangedEvent
Notify the event when the UnitChanged.
Declaration
public abstract event UnitToUnitEventHandler<double> UnitChangedEvent
Event Type
Extension Methods