Search
MeasureUnit.FromGraphicsUnit Method
See Also
 





Returns the measure unit corresponding to the specified graphics unit.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static MeasureUnit FromGraphicsUnit (
    GraphicsUnit unit
)

Visual Basic  Copy Code

Public Shared Function FromGraphicsUnit( _
    unit As GraphicsUnit _
) As MeasureUnit

 Parameters

unit

One of the GraphicsUnit values.

 Return Value

The built-in MeasureUnit corresponding to the specified graphics unit. If unit is World, this method returns null. If unit is Display, this method returns Pixel.

 See Also