Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OfficeImage Class

An image in the document.

Namespace: DevExpress.Office.Utils

Assembly: DevExpress.Office.v24.1.Core.dll

NuGet Packages: DevExpress.Office.Core, DevExpress.Win.Navigation

#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