Converts the specified value from this unit to the specified unit.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public double Convert ( |
Visual Basic Copy Code |
---|
Public Function Convert( _ |
The value to convert, expressed in the current measure unit.
The target measure unit.
A parameter that is used when converting from logical units (such as inches and millimeters) to device units (such as pixels) or special units. This can be either Graphics, IGraphics, or IResolution.
The converted value.
If the target represents logical unit (such as millimeter, inch, point) or a unit derived from a logical unit, and the current unit is not logical (for example pixel), the third parameter is required to perform the conversion.