Gets the normalized version of a rectangle so that both the height and width are positive.
Public Overloads Shared Function Normalize( _
ByVal rect As Leadtools.LeadRect _
) As Leadtools.LeadRect
public static LeadRect normalize(LeadRect rect)
public:
static Leadtools.LeadRect Normalize(
Leadtools.LeadRect rect
)
rect
LeadRect
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET