Skip to main content
A newer version of this page is available. .

OfficeImage Class

An image in the document.

Namespace: DevExpress.Office.Utils

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

Declaration

[ComVisible(true)]
public abstract class OfficeImage :
    IDisposable

Remarks

The OfficeImage object is accessible via the DocumentImage.Image property of the DocumentImage interface.

The OfficeImage class provides information on the image size, resolution and color depth.

To get a native Image object, use the OfficeImage.NativeImage property. The OfficeImage.GetImageBytes method enables you to obtain image data in any of the supported formats.

Static methods implemented in the OfficeImage class can help you to determine the MIME type and file extension for a given image format.

The following code snippets (auto-collected from DevExpress Examples) contain references to the OfficeImage class.

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.

Inheritance

Object
OfficeImage
See Also