[]
Gets the accurate position and size, in pixels, of the specified range.
public static RectangleF GetAccurateRangeBoundary(IRange range)
Public Shared Function GetAccurateRangeBoundary(range As IRange) As RectangleF
| Type | Name | Description |
|---|---|---|
| IRange | range | The range object. |
| Type | Description |
|---|---|
| RectangleF | The RectangleF object. |
RectangleF boundary = CellInfo.GetAccurateRangeBoundary(worksheet.Range["A1:B2"]);