A newer version of this page is available. Switch to the current version.

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.

Implements

Inheritance

Object
OfficeImage
See Also