Search
InternalUtils.NormalizeRect Method (Rectangle)
See Also
 





Normalizes the specified rectangle ensuring its height and width are non-negative numbers.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static Rectangle NormalizeRect (
    Rectangle rc
)

Visual Basic  Copy Code

Public Shared Function NormalizeRect( _
    rc As Rectangle _
) As Rectangle

 Parameters

rc
The .NET Rectangle to be normalized.

 Return Value

A .NET Rectangle instance that represents the normalized rectangle.

 Remarks

This method supports the NetDiagram infrastructure and is not intended to be used directly from your code.

 See Also