The leading provider of version control solutions and TWAIN SDKs
  • Contact us









Rotate Method

Description

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

ActiveX Edition Plug-in Edition Mac Edition
Since V6.0 Since V6.0 Since V6.4

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