Back to Devexpress

OfficeImage.DXImage Property

officefileapi-devexpress-dot-office-dot-utils-dot-officeimage.md

latest2.0 KB
Original Source

OfficeImage.DXImage Property

Retrieves the DXImage object.

Namespace : DevExpress.Office.Utils

Assembly : DevExpress.Office.v25.2.Core.dll

NuGet Package : DevExpress.Office.Core

Declaration

csharp
public abstract DXImage DXImage { get; }
vb
Public MustOverride ReadOnly Property DXImage As DXImage

Property Value

TypeDescription
DXImage

An object that contains an image.

|

Remarks

Use this property instead of NativeImage to obtain an image on non-Window environments.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DXImage 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.

office-file-api-ai-implementation/CS/BusinessObjects/ImageHelper.cs#L29

csharp
var imageByteString = ConvertDXImageToBase64String(image.DXImage);

See Also

OfficeImage Class

OfficeImage Members

DevExpress.Office.Utils Namespace