Represents a range of pixels in a spreadsheet.
ValueType.Equals
ValueType.GetHashCode
ValueType.ToString
Namespace: Radzen.Blazor.Spreadsheet
Assembly: Radzen.Blazor.dll
public struct PixelRangeRepresents a range of pixels in a spreadsheet.
public PixelRange(double start, double end)
| Type | Name | Description |
|---|---|---|
| double | start | |
| double | end |
The end of the pixel range.
public double End { get; }
| Type | Description |
|---|---|
| double | The end of the pixel range. |
The length of the pixel range, calculated as End - Start.
public double Length { get; }
| Type | Description |
|---|---|
| double | The length of the pixel range, calculated as End - Start. |
The start of the pixel range.
public double Start { get; }
| Type | Description |
|---|---|
| double | The start of the pixel range. |
Checks if this pixel range contains another pixel range.
public bool Contains(Spreadsheet.PixelRange other)
| Type | Name | Description |
|---|---|---|
| Spreadsheet.PixelRange | other |
| Type | Description |
|---|---|
| bool |
Returns a new pixel range with the end offset by the specified amount.
public Spreadsheet.PixelRange OffsetEnd(double offset)
| Type | Name | Description |
|---|---|---|
| double | offset |
| Type | Description |
|---|---|
| Spreadsheet.PixelRange |
Returns a new pixel range with the start offset by the specified amount.
public Spreadsheet.PixelRange OffsetStart(double offset)
| Type | Name | Description |
|---|---|---|
| double | offset |
| Type | Description |
|---|---|
| Spreadsheet.PixelRange |