SheetImage Class

Represents a floating image on a spreadsheet sheet.

Inheritance

Object

Documents.Spreadsheet.SheetImage

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class SheetImage : Documents.Spreadsheet.IAnchoredDrawing

Constructors

SheetImagelink

Represents a floating image on a spreadsheet sheet.

Declaration
public SheetImage()

Properties

AnchorModelink

Gets or sets the anchor mode.

Declaration
public Documents.Spreadsheet.DrawingAnchorMode AnchorMode { get; set; }
Property Value
Type Description
Documents.Spreadsheet.DrawingAnchorModeGets or sets the anchor mode.

ContentTypelink

Gets or sets the content type (e.g. "image/png").

Declaration
public string ContentType { get; set; }
Property Value
Type Description
stringGets or sets the content type (e.g. "image/png").

Datalink

Gets or sets the image data bytes.

Declaration
public Byte[] Data { get; set; }
Property Value
Type Description
Byte[]Gets or sets the image data bytes.

DataUrilink

Gets the data URI for the image (cached).

Declaration
public string DataUri { get; }
Property Value
Type Description
stringGets the data URI for the image (cached).

Descriptionlink

Gets or sets the optional description.

Declaration
public string Description { get; set; }
Property Value
Type Description
stringGets or sets the optional description.

Fromlink

Gets or sets the starting anchor position.

Declaration
public Documents.Spreadsheet.CellAnchor From { get; set; }
Property Value
Type Description
Documents.Spreadsheet.CellAnchorGets or sets the starting anchor position.

Heightlink

Gets or sets the image height in pixels (OneCellAnchor only).

Declaration
public double Height { get; set; }
Property Value
Type Description
doubleGets or sets the image height in pixels (OneCellAnchor only).

Namelink

Gets or sets the optional name.

Declaration
public string Name { get; set; }
Property Value
Type Description
stringGets or sets the optional name.

Tolink

Gets or sets the ending anchor position (TwoCellAnchor only).

Declaration
public Documents.Spreadsheet.CellAnchor To { get; set; }
Property Value
Type Description
Documents.Spreadsheet.CellAnchorGets or sets the ending anchor position (TwoCellAnchor only).

Widthlink

Gets or sets the image width in pixels (OneCellAnchor only).

Declaration
public double Width { get; set; }
Property Value
Type Description
doubleGets or sets the image width in pixels (OneCellAnchor only).
An error has occurred. This app may no longer respond until reloaded. Reload 🗙