[]
Gets the position and size, in pixels, of the specified range.
[Obsolete("Use GetAccurateRangeBoundary instead.")]
public static Rectangle GetRangeBoundary(IRange range)
<Obsolete("Use GetAccurateRangeBoundary instead.")>
Public Shared Function GetRangeBoundary(range As IRange) As Rectangle
| Type | Name | Description |
|---|---|---|
| IRange | range | The range object. |
| Type | Description |
|---|---|
| Rectangle | A rectangle containing the position and size of the range |
Rectangle boundary = CellInfo.GetRangeBoundary(worksheet.Range["A1:B2"]);