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









RotateEx Method

Description

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

ActiveX Edition Plug-in Edition Mac Edition
Since V7.0 Since V7.0 Since V7.0

Syntax

Boolean ObjectName.RotateEx(Int16 sImageIndex, float fAngle, Bool bKeepSize, enumInterpolationMethod InterpolationMethod)

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.

enumInterpolationMethod InterpolationMethod: specifies the method to do interpolation.

Allowed Values

Interpolation Method

1 NearestNeighbor
2 Bilinear
3 Bicubic

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