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 to this section

Represents a floating image on a spreadsheet sheet.

Declaration
public SheetImage()

Properties

AnchorModeLink to this section

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 to this section

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 to this section

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 to this section

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 to this section

Gets or sets the optional description.

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

FromLink to this section

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 to this section

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 to this section

Gets or sets the optional name.

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

ToLink to this section

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 to this section

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 🗙