Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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 Methods
Show Inherited Hide Inherited

An image in the document.
Name Description
CanGetImageBytes(OfficeImageFormat) Indicates whether the OfficeImage descendant can get image data as an array of bytes.
Clone(IDocumentModel) For internal use.
CreateImage(DXImage) static For internal use.
CreateImage(MemoryStreamBasedImage) static For internal use.
CreateImage(Stream, IUniqueImageId) static For internal use.
CreateImage(Stream) static For internal use.
DiscardCachedData() Closes the current image stream and releases any resources associated with the current stream.
Dispose() Releases all resources used by this object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetContentType(OfficeImageFormat) static Static method used to get the MIME content type by the OfficeImageFormat value.
GetExtension(OfficeImageFormat) static Static method used to obtain an extension by the OfficeImageFormat value.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImageBytes(OfficeImageFormat) Returns a byte array of image data encoded in the specified format.
GetImageBytesSafe(OfficeImageFormat) Attempts to get image data as an array of bytes in specified format, and in case of failure gets the data in PNG format.
GetImageBytesStreamSafe(OfficeImageFormat) Attempts to get image data as a stream in the specified format, and in case of a failure, gets the data in PNG format.
GetResolution() For internal use.
GetType() Gets the Type of the current instance. Inherited from Object.
IsExportSupported(OfficeImageFormat) This property is overridden in OfficeImage class descendants to indicate image formats not suitable for export.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also