MindFusion.Wpf Pack Programmer's Guide
Measure.ConvertTo Method
See Also
 





Converts the amount represented by the current object to the specified unit.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public Measure ConvertTo (
    MeasureUnit targetUnit,
    Object context
)

Visual Basic  Copy Code

Public Function ConvertTo( _
    targetUnit As MeasureUnit, _
    context As Object _
) As Measure

 Parameters

targetUnit

A MeasureUnit object representing the unit to convert to.

context

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.

 Return Value

A new Measure object that represents the original amount in the specified unit.

 See Also

Measure Members
Measure Class
MindFusion.Spreadsheet.Wpf Namespace