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

ASPxBinaryImage Class

Represents an editor capable of displaying images from a binary stream.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class ASPxBinaryImage :
    ASPxEdit,
    IImageEdit,
    IBinaryImageEditor
Public Class ASPxBinaryImage
    Inherits ASPxEdit
    Implements IImageEdit,
               IBinaryImageEditor

Remarks

The ASPxBinaryImage control can be used to display on the web page any valid image (supported by the requesting browser) taken from a binary stream.

This class inherits its basic functionality from its ancestor. The ASPxBinaryImage.ContentBytes property provides access to the editor's contents represented by an array of bytes. The ASPxBinaryImage.StoreContentBytesInViewState property allows you to control whether the editor's content should be stored within the editor's view state between postbacks.

NOTE

Use the ASPxImage control to use the URL path to show an image from the server side.

See Also