BCGSoft.Controls.Grid Namespace > GridSelectionRange Class : Normalize Method |
'Declaration Public Sub Normalize()
'Usage Dim instance As GridSelectionRange instance.Normalize()
public void Normalize()
public: void Normalize();
public: void Normalize();
Checks range Start and End points and sets StartN and EndN properties in the way StartN < EndN.
The original range coordinates are not changed.
For example:
GridSelectionRange range = new GridSelectionRange ();
range.Start = Point (2, 4);
range.End = Point (0, 0);
range.Normalize ();
After this Start and End will return the same values, but
StartN is Point (0, 0),
EndN is Point (2, 4).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2