officefileapi-devexpress-dot-spreadsheet-dot-cellvalue-e196fabc.md
Indicates whether a cell contains an embedded image.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public bool IsCellImage { get; }
Public ReadOnly Property IsCellImage As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the cell contains an embedded image; otherwise, false.
|
Use the CellValue.ImageValue property to obtain the cell image value as an OfficeImage object.
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsCellImage property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
// Specify image information
if (worksheet.Cells["A2"].Value.IsCellImage)
{
winforms-spreadsheetcontrol-api-part1/CS/SpreadsheetControl/SpreadsheetActions/CellActions.cs#L385
// Specify image information
if (worksheet.Cells["A2"].Value.IsCellImage)
{
// Specify image information
if (worksheet.Cells["A2"].Value.IsCellImage)
{
// Specify image information
if (worksheet.Cells["A2"].Value.IsCellImage)
{
' Specify image information
If worksheet.Cells("A2").Value.IsCellImage Then
worksheet.Cells("A2").ImageInfo.Decorative = True
winforms-spreadsheetcontrol-api-part1/VB/SpreadsheetControl/SpreadsheetActions/CellActions.vb#L350
' Specify image information
If worksheet.Cells("A2").Value.IsCellImage Then
worksheet.Cells("A2").ImageInfo.Decorative = True
' Specify image information
If worksheet.Cells("A2").Value.IsCellImage Then
worksheet.Cells("A2").ImageInfo.Decorative = True
' Specify image information
If worksheet.Cells("A2").Value.IsCellImage Then
worksheet.Cells("A2").ImageInfo.Decorative = True
See Also