Rotation - property of the PmgRasterImage object
Description:
Image rotation and flip.
Values:
0 = do not rotate - No rotation.
1 = Left - Rotate left.
2 = Down - Rotate down.
3 = Right - Rotate right.
4 = flip - X-axis flip.
5 = Left and flip - X-axis flip and rotate left.
6 = Down and flip - X-axis flip and rotate down.
7 = Right and flip - X-axis flip and rotate right.
Note:
Property access
for read and write.
The default value of this property is defined in the "
Flip and rotate" configurator of this object.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oImg = pMe.Items("/RImg0");
var nRotation = oImg.Rotation;
// Reading from the property
oImg.Rotation = 1;
// Writing into the property
Dim oImg
Set oImg = pMe.Items("/RImg0")
Dim nRotation
nRotation = oImg.Rotation
' Reading from the property
oImg.Rotation = 1
' Writing into the property