Skip to main content
All docs
V24.2

IXlPicture.SetImage(DXImage, DXImageFormat) Method

Specifies the image to be displayed in the worksheet.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

void SetImage(
    DXImage image,
    DXImageFormat format
)

Parameters

Name Type Description
image DXImage

The target image. Use the DXImage.FromBase64String or DXImage.FromStream method to load the image.

format DXImageFormat

The image format.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetImage(DXImage, DXImageFormat) method.

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.

See Also