Docs · API reference · Verso.Abstractions

CellContainerInfo Class#

Describes the layout position and size of a cell container within the notebook canvas.

public sealed record CellContainerInfo : System.IEquatable<Verso.Abstractions.CellContainerInfo>

Inheritance System.Object → CellContainerInfo

Implements System.IEquatable<CellContainerInfo>

Constructors#

CellContainerInfo(Guid, double, double, double, double, bool) Constructor#

Describes the layout position and size of a cell container within the notebook canvas.

public CellContainerInfo(System.Guid CellId, double X, double Y, double Width, double Height, bool IsVisible=true);

Parameters#

CellId System.Guid

The unique identifier of the cell.

X System.Double

The horizontal offset of the cell container, in device-independent pixels.

Y System.Double

The vertical offset of the cell container, in device-independent pixels.

Width System.Double

The width of the cell container, in device-independent pixels.

Height System.Double

The height of the cell container, in device-independent pixels.

IsVisible System.Boolean

Indicates whether the cell container is visible in the viewport. Defaults to true.

Properties#

CellId Property#

The unique identifier of the cell.

public System.Guid CellId { get; init; }

Property Value#

System.Guid

Height Property#

The height of the cell container, in device-independent pixels.

public double Height { get; init; }

Property Value#

System.Double

IsVisible Property#

Indicates whether the cell container is visible in the viewport. Defaults to true.

public bool IsVisible { get; init; }

Property Value#

System.Boolean

Width Property#

The width of the cell container, in device-independent pixels.

public double Width { get; init; }

Property Value#

System.Double

X Property#

The horizontal offset of the cell container, in device-independent pixels.

public double X { get; init; }

Property Value#

System.Double

Y Property#

The vertical offset of the cell container, in device-independent pixels.

public double Y { get; init; }

Property Value#

System.Double