In This Topic
Rotates an image with automatic detection of border color.
Syntax
var instance = new Vintasoft.Twain.WebAcquiredImageJS(twainDeviceManager, imageId, imageInfo);
var value; // Type: any
// Parameters
var angle; // Type: number
value = instance.rotate(angle);
function rotate(
: number
) : any;
Parameters
- angle
- Rotation angle in degrees.
Exceptions
Exception | Description |
| Thrown if argument has wrong type OR image is in processing now OR image processing is failed. |
Remarks
This function sends a synchronous request to rotate an image. If you want to use asynchronous request instead of synchronous request, please use WebAcquiredImageJS.rotateAsync function.
Browser Compatibility
See Also