Image Viewer CP ActiveX Control

RotateAt

 

Rotate at specific degree of image.
 

Public Function RotateAt( _
   ByVal iAngle As Integer, _
   ByVal iBgRedColor As Integer, _
   ByVal iBgGreenColor As Integer, _
   ByVal iBgBlueColor As Integer
)

 

Parameter

iAngle
the value of degree. -360 - 360

iBgRedColor
 the background color (Red Color value)

iBgGreenColor
 the background color (Green Color value)

iBgBlueColor
 the background color (Blue Color value)

No Return Value

Example

   

Visual Basic Syntax
ImageViewer1.RotateAt 45, 0,0,0