| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > ZennoPoster Class : ImageProcessingResizeFromScreenshot Method |
Type: System.Int32
The port of the instance.
Type: System.String
The save file path.
Type: System.Int32
A new width of the image.
Type: System.Int32
A new height of the image.
Type: System.String
Units of dimension of the parameters. It can be "pixel" or "percent".
Type: System.String
If need to keep the aspect ratio then "true"; otherwise "false".
Type: System.String
If not increase size of the image then "true"; otherwise "false".
Type: System.Int32
The port of the instance.
Type: System.String
The save file path.
Type: System.Int32
A new width of the image.
Type: System.Int32
A new height of the image.
Type: System.String
Units of dimension of the parameters. It can be "pixel" or "percent".
Type: System.String
If need to keep the aspect ratio then "true"; otherwise "false".
Type: System.String
If not increase size of the image then "true"; otherwise "false".
// resize image from screenshot, the width and height in pixel ZennoPoster.ImageProcessingResizeFromScreenshot(instance.Port, "C:\\ResultImage.jpeg", 100, 120, "pixel", true, false); // resize image from screenshot, the width and height in percentage ZennoPoster.ImageProcessingResizeFromScreenshot(instance.Port, "C:\\ResultImage.jpeg", 200, 200, "percent", true, false);
// resize image from screenshot, the width and height in pixel ZennoLab\CommandCenter\ZennoPoster::ImageProcessingResizeFromScreenshot($instance->Port, "C:\\ResultImage.jpeg", 100, 120, "pixel", true, false); // resize image from screenshot, the width and height in percentage ZennoLab\CommandCenter\ZennoPoster::ImageProcessingResizeFromScreenshot($instance->Port, "C:\\ResultImage.jpeg", 200, 200, "percent", true, false);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.
ZennoPoster Class
ZennoPoster Members
ImageProcessingCropFromFile Method
ImageProcessingCropFromScreenshot Method
ImageProcessingCropFromUrl Method
ImageProcessingResizeFromFile 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
ImageProcessingMirrorFromFile Method
ImageProcessingMirrorFromScreenshot Method
ImageProcessingMirrorFromUrl Method