NormalizeRect Method

Normalizes the properties of the instance of the object. That means that when the left value is greater than the right value, the values are exchanged. The same applies to the top and bottom properties, if the top value is greater than bottom.

Applies to objects: DRect

Syntax

object.NormalizeRect ()

The NormalizeRect method syntax has these parts:

Part Description
object A reference to an instance of the object.

Example

Dim MyRect as new DRect
MyRect.SetRect(400,400,200,200)
' After this method has been used ' MyRect properties become 200,200,400,400 MyRect.NormalizeRect()

 

See Also

DRect Object