Click or drag to resize

WebImageViewerImage Property

Gets or sets the current AtalaImage displayed in this control

Namespace:  Atalasoft.Imaging.WebControls
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public virtual AtalaImage Image { get; set; }

Property Value

Type: AtalaImage
The current AtalaImage in the control.
Remarks

Using this property directly will cache an extra copy of the incoming image, so that it can be reloaded upon postback. If the location of the image can be expressed in Url form, the recommended method of setting this property is by using OpenUrl(String).

Setting any of this property's members directly will not automatically update the control. Use the Update method to update the image. Using ApplyCommand(ImageCommand) will automatically update the image.

Examples
C#
myWebImageViewer.Image = new AtalaImage("C:\\TestImages\\myTestImage.tif");
Visual Basic
myWebImageViewer.Image = new AtalaImage("C:\\TestImages\\myTestImage.tif")
Examples
C#
myWebImageViewer.Image = new AtalaImage("C:\\TestImages\\myTestImage.tif");
Visual Basic
myWebImageViewer.Image = new AtalaImage("C:\\TestImages\\myTestImage.tif")
See Also