Objective Grid for Microsoft® .NET® Reference Guide

Range.FromLTRB Method 

Back to Class Index

Creates a range from left, top, right, and bottom row and column indexes.

[Visual Basic]
Public Shared Function FromLTRB( _
   ByVal nLeft As Integer, _
   ByVal nTop As Integer, _
   ByVal nRight As Integer, _
   ByVal nBottom As Integer _
) As Range
[C#]
public static Range FromLTRB(
   int nLeft,
   int nTop,
   int nRight,
   int nBottom
);

Parameters

nLeft
The left column.
nTop
The top row.
nRight
The right column.
nBottom
The bottom row.

See Also

Range Class | Range Members | Stingray.Grid Namespace