Returns the measure unit corresponding to the specified graphics unit.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public static MeasureUnit FromGraphicsUnit ( |
Visual Basic Copy Code |
---|
Public Shared Function FromGraphicsUnit( _ |
One of the GraphicsUnit values.
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.