ZennoLab Assemblies Documentation
ImageProcessingRotateFromScreenshot Method (ZennoPoster)
Example 

Type: System.Int32

The port of the instance.

Type: System.String

The save file path.

Type: System.Int32

An angle of the rotation.

Performs rotation of the image from screenshot.
Syntax
public static void ImageProcessingRotateFromScreenshot( 
   int instancePort,
   string savePath,
   int angle
)

Parameters

instancePort

Type: System.Int32

The port of the instance.

savePath

Type: System.String

The save file path.

angle

Type: System.Int32

An angle of the rotation.

Remarks
The angle is specified in degrees.
Example
The following example shows call the ImageProcessingRotateFromScreenshot method.
// the rotation of image at 45 degrees
ZennoPoster.ImageProcessingRotateFromScreenshot(instance.Port, "C:\\ResultImage.jpeg", 45);
// the rotation of image at 45 degrees
ZennoLab\CommandCenter\ZennoPoster::ImageProcessingRotateFromScreenshot($instance->Port, "C:\\ResultImage.jpeg", 45);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ZennoPoster Class
ZennoPoster Members
ImageProcessingCropFromFile Method
ImageProcessingCropFromScreenshot Method
ImageProcessingCropFromUrl Method
ImageProcessingResizeFromFile Method
ImageProcessingResizeFromScreenshot Method
ImageProcessingResizeFromUrl Method
ImageProcessingRotateFromFile Method
ImageProcessingRotateFromUrl Method
ImageProcessingUntreatedFromFile Method
ImageProcessingUntreatedFromScreenshot Method
ImageProcessingUntreatedFromUrl Method
ImageProcessingWaterMarkImageFromFile Method
ImageProcessingWaterMarkImageFromScreenshot Method
ImageProcessingWaterMarkImageFromUrl Method
ImageProcessingWaterMarkTextFromFile Method
ImageProcessingWaterMarkTextFromScreenshot Method
ImageProcessingWaterMarkTextFromUrl Method
Instance Port Property
ImageProcessingMirrorFromFile Method
ImageProcessingMirrorFromScreenshot Method
ImageProcessingMirrorFromUrl Method

Send Feedback