Represents a floating image on a spreadsheet sheet.
Object
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public class SheetImage : Documents.Spreadsheet.IAnchoredDrawingGets or sets the anchor mode.
public Documents.Spreadsheet.DrawingAnchorMode AnchorMode { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.DrawingAnchorMode | Gets or sets the anchor mode. |
Gets or sets the content type (e.g. "image/png").
public string ContentType { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the content type (e.g. "image/png"). |
Gets or sets the image data bytes.
public Byte[] Data { get; set; }
| Type | Description |
|---|---|
| Byte[] | Gets or sets the image data bytes. |
Gets the data URI for the image (cached).
public string DataUri { get; }
| Type | Description |
|---|---|
| string | Gets the data URI for the image (cached). |
Gets or sets the optional description.
public string Description { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the optional description. |
Gets or sets the starting anchor position.
public Documents.Spreadsheet.CellAnchor From { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.CellAnchor | Gets or sets the starting anchor position. |
Gets or sets the image height in pixels (OneCellAnchor only).
public double Height { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the image height in pixels (OneCellAnchor only). |
Gets or sets the optional name.
public string Name { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the optional name. |
Gets or sets the ending anchor position (TwoCellAnchor only).
public Documents.Spreadsheet.CellAnchor To { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.CellAnchor | Gets or sets the ending anchor position (TwoCellAnchor only). |
Gets or sets the image width in pixels (OneCellAnchor only).
public double Width { get; set; }
| Type | Description |
|---|---|
| double | Gets or sets the image width in pixels (OneCellAnchor only). |