Skip to main content

Binary Image

The BootstrapBinaryImage control is an editor capable of displaying images from a binary stream.

BootstrapBinaryImage

The ASPxBinaryImage.ContentBytes property provides access to editor contents represented by an array of bytes. The ASPxBinaryImage.StoreContentBytesInViewState property allows you to control whether or not editor content is stored within the editor’s view state between postbacks.

Tip

The Binary Image control supports the IIS clustered web environment (also known as Web Farms or Web Gardens). To learn more, see the Binary Storage Configuration topic.

Image Uploading

When the BinaryImageEditingSettings.Enabled property is set to true, end users can upload an image to the control by using the open dialog button.

BootstrapBinaryImage_Upload

When the drag and drop feature is enabled (the BinaryImageEditingSettings.AllowDropOnPreview property is set to true), end users can upload an image by dropping it to the image area.

BootstrapBinaryImage_DragAndDrop

Supported Image File Formats

The Binary Image control supports the following image file formats.

  • TIFF (Tagged Image File Format)
  • PNG (Portable Network Graphics)
  • GIF (Graphics Interchange Format)
  • JPEG (Joint Photographic Experts Group)
  • BMP (Windows Bitmap)
See Also