Code: Select all
case "Rotate90Button":
case "Rotate180Button":
case "Rotate270Button":
var angle = 90;
if (id === "Rotate180Button")
angle = 180;
else if (id === "Rotate270Button")
angle = 270;
var ajaxParams = {
type: 'POST',
data: {
twainSessionId: twainSessionId,
imageId: imageId,
angle: angle,
thumbnailWidth: _thumbnailWidth,
thumbnailHeight: _thumbnailHeight
}
}
request = new Vintasoft.Shared.WebRequestJS("RotateImage",
__modifiedImage_success,
__processing_fail,
ajaxParams);
break;