ZennoLab Assemblies Documentation
ImageProcessingMirrorFromScreenshot Method (ZennoPoster)
Example 

Type: System.Int32

The port of the instance.

Type: System.String

The save file path.

Type: System.String

The type of the mirror reflection. It can be "Horizontal", "Vertical", "HorizontalVertical". This parameter is not case-sensitive.

Performs the mirror reflection of the image from screenshot.
Syntax
public static void ImageProcessingMirrorFromScreenshot( 
   int instancePort,
   string savePath,
   string mirror
)

Parameters

instancePort

Type: System.Int32

The port of the instance.

savePath

Type: System.String

The save file path.

mirror

Type: System.String

The type of the mirror reflection. It can be "Horizontal", "Vertical", "HorizontalVertical". This parameter is not case-sensitive.

Example
The following example shows call the ImageProcessingMirrorFromScreenshot method.
// performs the horizontal mirror reflection of screenshot and save it to newImage.jpg
ZennoPoster.ImageProcessingMirrorFromScreenshot(instance.Port, "C:\\newImage.jpg", "Horizontal");
// performs the vertical mirror reflection of screenshot and save it to newImage.jpg
ZennoPoster.ImageProcessingMirrorFromScreenshot(instance.Port, "C:\\newImage.jpg", "Vertical");
// performs the horizontal and vertical mirror reflection of screenshot and save it to newImage.jpg
ZennoPoster.ImageProcessingMirrorFromScreenshot(instance.Port, "C:\\newImage.jpg", "HorizontalVertical");
// performs the horizontal mirror reflection of screenshot and save it to newImage.jpg
ZennoLab\CommandCenter\ZennoPoster::ImageProcessingMirrorFromScreenshot(instance.Port, "C:\\newImage.jpg", "Horizontal");
// performs the vertical mirror reflection of screenshot and save it to newImage.jpg
ZennoLab\CommandCenter\ZennoPoster::ImageProcessingMirrorFromScreenshot(instance.Port, "C:\\newImage.jpg", "Vertical");
// performs the horizontal and vertical mirror reflection of screenshot and save it to newImage.jpg
ZennoLab\CommandCenter\ZennoPoster::ImageProcessingMirrorFromScreenshot(instance.Port, "C:\\newImage.jpg", "HorizontalVertical");
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
ImageProcessingMirrorFromFile Method
ImageProcessingMirrorFromUrl Method
ImageProcessingResizeFromFile Method
ImageProcessingResizeFromScreenshot Method
ImageProcessingResizeFromUrl Method
ImageProcessingRotateFromFile Method
ImageProcessingRotateFromScreenshot Method
ImageProcessingRotateFromUrl Method
ImageProcessingUntreatedFromFile Method
ImageProcessingUntreatedFromScreenshot Method
ImageProcessingUntreatedFromUrl Method
ImageProcessingWaterMarkImageFromFile Method
ImageProcessingWaterMarkImageFromScreenshot Method
ImageProcessingWaterMarkImageFromUrl Method
ImageProcessingWaterMarkTextFromFile Method
ImageProcessingWaterMarkTextFromScreenshot Method
ImageProcessingWaterMarkTextFromUrl Method
Instance Port Property

Send Feedback