Binary Image
The BootstrapBinaryImage control is an editor capable of displaying images from a binary stream.
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.
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.
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)