Converts the amount represented by the current object to the specified unit.
Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf
C# Copy Code |
---|
public Measure ConvertTo ( |
Visual Basic Copy Code |
---|
Public Function ConvertTo( _ |
A MeasureUnit object representing the unit to convert to.
When converting between logical and device units this should be a Graphics or IGraphics object that provides device resolution information; otherwise this parameter is ignored.
A new Measure object that represents the original amount in the specified unit.