Leadtools.Controls Namespace > ImageViewerItem Object : BackImage Property |
get_backImage();
set_backImage(value);
Object.defineProperty('backImage');
Type | Description |
---|---|
Element | The optional background element associated with this item. Default value is null. |
The background element is optional and does not affect the size or resolution of the item. The viewer will check this value during the rendering cycle, and if a background image is found, it will be rendered during RenderItem just before the main image of the item (if any).
Changing the value of this property will fire the ItemChanged event with ImageViewerItemChangedReason.BackImage.
BackImage property of ImageViewer will update this member if this is the active item when the viewer is used in single item mode.
In Elements Mode, the BackImage may be any element (e.g., svg
) instead of just an img
. Refer to Image Viwer User-Defined HTML Display for more information.
For more information, refer to Image Viewer Items.