Back to Devexpress

OfficeImage Methods

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

latest5.4 KB
Original Source

OfficeImage Methods

An image in the document.

NameDescription
CanGetImageBytes(OfficeImageFormat)Indicates whether the OfficeImage descendant can get image data as an array of bytes.
Clone(IDocumentModel)For internal use.
CreateImage(DXImage) staticFor internal use.
CreateImage(MemoryStreamBasedImage) staticFor internal use.
CreateImage(Stream, IUniqueImageId) staticFor internal use.
CreateImage(Stream) staticFor 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) staticDetermines 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) staticStatic method used to get the MIME content type by the OfficeImageFormat value.
GetExtension(OfficeImageFormat) staticStatic 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

OfficeImage Class

OfficeImage Members

DevExpress.Office.Utils Namespace