This documentation is for the old version. Go to the latest Graphics Mill docs

BitmapViewer.PreviewImageResizeRatio Property

Gets/sets the ratio of the original image dimensions to the dimensions of the preview image displayed in the background of the control (when enabled).

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

Syntax

Visual Basic
<BrowsableAttribute(True)> _
Public Property PreviewImageResizeRatio As Integer
C#
[BrowsableAttribute(true)]
public int PreviewImageResizeRatio { get; set; }

Property Value

The ratio of the original image dimensions to the dimensions of the preview image displayed in the background of the control (when enabled).

Remarks

When preview image is generated, its width and height is divided by the value stored in this 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 control. 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.

The lower value you specify the higher is a resolution of the preview image. It will increase the preview image quality, but greatly increase the size.

Default value is 8 (the preview image is less in 64 times).

See Also

Reference

Manual