PixelRange Struct

Represents a range of pixels in a spreadsheet.

Inherited Members

ValueType.Equals

ValueType.GetHashCode

ValueType.ToString

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public struct PixelRange

Constructors

PixelRangelink

Represents a range of pixels in a spreadsheet.

Declaration
public PixelRange(double start, double end)
Parameters
Type Name Description
double start
double end

Properties

Endlink

The end of the pixel range.

Declaration
public double End { get; }
Property Value
Type Description
doubleThe end of the pixel range.

Lengthlink

The length of the pixel range, calculated as End - Start.

Declaration
public double Length { get; }
Property Value
Type Description
doubleThe length of the pixel range, calculated as End - Start.

Startlink

The start of the pixel range.

Declaration
public double Start { get; }
Property Value
Type Description
doubleThe start of the pixel range.

Methods

Containslink

Checks if this pixel range contains another pixel range.

Declaration
public bool Contains(Spreadsheet.PixelRange other)
Parameters
Type Name Description
Spreadsheet.PixelRange other
Returns
Type Description
bool

OffsetEndlink

Returns a new pixel range with the end offset by the specified amount.

Declaration
public Spreadsheet.PixelRange OffsetEnd(double offset)
Parameters
Type Name Description
double offset
Returns
Type Description
Spreadsheet.PixelRange

OffsetStartlink

Returns a new pixel range with the start offset by the specified amount.

Declaration
public Spreadsheet.PixelRange OffsetStart(double offset)
Parameters
Type Name Description
double offset
Returns
Type Description
Spreadsheet.PixelRange
An error has occurred. This app may no longer respond until reloaded. Reload 🗙