Edit

Excel.WebImageCellValue interface

Represents the value of a cell containing an image downloaded from the internet.

Remarks

[Api set: ExcelApi 1.16]

Properties

address

Represents the URL from which the image will be downloaded. This image must be hosted on a server that supports HTTPS.

altText

Represents the alternate text that can be used in accessibility scenarios to describe what the image represents.

attribution

Represents attribution information to describe the source and license requirements for using this image.

basicType

Represents the value that would be returned by Range.valueTypes for a cell with this value.

basicValue

Represents the value that would be returned by Range.values for a cell with this value. When accessed through a valuesAsJson property, this string value aligns with the en-US locale. When accessed through a valuesAsJsonLocal property, this string value aligns with the user's display locale.

provider

Represents information that describes the entity or individual who provided the image. This information can be used for branding in image cards.

relatedImagesAddress

Represents the URL of a webpage with images that are considered related to this WebImageCellValue.

type

Represents the type of this cell value.

Property Details

address

Represents the URL from which the image will be downloaded. This image must be hosted on a server that supports HTTPS.

address: string;

Property Value

string

Remarks

[Api set: ExcelApi 1.16]

altText

Represents the alternate text that can be used in accessibility scenarios to describe what the image represents.

altText?: string;

Property Value

string

Remarks

[Api set: ExcelApi 1.16]

attribution

Represents attribution information to describe the source and license requirements for using this image.

attribution?: CellValueAttributionAttributes[];

Property Value

Remarks

[Api set: ExcelApi 1.16]

basicType

Represents the value that would be returned by Range.valueTypes for a cell with this value.

basicType?: RangeValueType.error | "Error";

Property Value

error | "Error"

Remarks

[Api set: ExcelApi 1.16]

basicValue

Represents the value that would be returned by Range.values for a cell with this value. When accessed through a valuesAsJson property, this string value aligns with the en-US locale. When accessed through a valuesAsJsonLocal property, this string value aligns with the user's display locale.

basicValue?: "#VALUE!" | string;

Property Value

"#VALUE!" | string

Remarks

[Api set: ExcelApi 1.16]

provider

Represents information that describes the entity or individual who provided the image. This information can be used for branding in image cards.

provider?: CellValueProviderAttributes;

Property Value

Remarks

[Api set: ExcelApi 1.16]

relatedImagesAddress

Represents the URL of a webpage with images that are considered related to this WebImageCellValue.

relatedImagesAddress?: string;

Property Value

string

Remarks

[Api set: ExcelApi 1.16]

type

Represents the type of this cell value.

type: CellValueType.webImage | "WebImage";

Property Value

webImage | "WebImage"

Remarks

[Api set: ExcelApi 1.16]