BitmapViewer.PreviewImageEnabled Property

Gets/sets a value which enables the low-resolution preview of the image which is displayed in the background of the control while the portion of the high-resolution image is loaded to the browser.

Namespace: Aurigma.GraphicsMill.AjaxControls
Assembly: Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

C#
public bool PreviewImageEnabled { get; set; }

Property Value

The value which is true when low-resolution image should be used; false otherwise.

Remarks

When preview image is generated, its width and height is divided by the value stored in the PreviewImageResizeRatio property. This image is downloaded to the browser entirely and stretched at the container. After that high resolution portion of the image is downloaded to client and displayed in the viewport. This way user can preview (with very poor quality though) the portion of the image, and he can scroll to the necessary position on the image before high resolution fragment is loaded.

Default value is true.

See Also

Reference