Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

Rotate Method

Description

Rotates the image of a specified index in buffer by specified angle.

Syntax

Boolean ObjectName. Rotate(Int16 sImageIndex, float fAngle, Bool bKeepSize)

Parameters

Int16 sImageIndex: specifies the index of image in buffer. The index is 0-based. 

float fAngle: Specifies the rotation angle.

Bool bKeepSize: Keep size or not.

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

You can specify the fill color by BackgroundFillColor property.

See Also

RotateLeft(), RotateRight(), Flip(), Mirror(), Crop(), CropToClipboard(), GetImageSize(), ChangeImageSize(), ShowImageEditor(), ImageEditorWindowTitle property, ImageEditorIfReadonly property, ImageEditorIfEnableEnumerator property

 

 

 

 













TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.