Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

Normalize(LeadRect) Method








LeadRect
Gets the normalized version of a rectangle so that both the height and width are positive.
Syntax
public static LeadRect Normalize( 
   LeadRect rect
)
'Declaration
 
Public Overloads Shared Function Normalize( _
   ByVal rect As LeadRect _
) As LeadRect
'Usage
 
Dim rect As LeadRect
Dim value As LeadRect
 
value = LeadRect.Normalize(rect)
public static LeadRect Normalize( 
   LeadRect rect
)
public static LeadRect normalize(LeadRect rect)
 function Leadtools.LeadRect.Normalize(LeadRect)( 
   rect 
)
public:
static LeadRect Normalize( 
   LeadRect rect
) 

Parameters

rect
LeadRect

Return Value

Remarks

This method compares the top and bottom values, and swaps them if the top is greater than the bottom. Similarly, it swaps the left and right values if the left is greater than the right. This method is useful when dealing with different mapping modes and inverted rectangles.

Requirements

Target Platforms

See Also

Reference

LeadRect Structure
LeadRect Members
Overload List

Error processing SSI file