| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > ZennoPoster Class : ImageProcessingWaterMarkImageFromScreenshot Method |
Type: System.Int32
The port of the instance.
Type: System.String
The save file path.
Type: System.String
The type of the imposition. It can be "horizontally" or "diagonally".
Type: System.String
The type of the location. It can be "center", "leftbottom", "lefttop", "rightbottom" or "righttop".
Type: System.String
The file path of the image which will be a water mark.
Type: System.Int32
The transparency of the water mark. The value from 0 to 100.
Type: System.Int32
The offset from left. Default value is 0.
Type: System.Int32
The offset from top. Default value is 0.
public static void ImageProcessingWaterMarkImageFromScreenshot( int instancePort, string savePath, string imposition, string location, string path, int transparency, int offsetLeft, int offsetTop )
Type: System.Int32
The port of the instance.
Type: System.String
The save file path.
Type: System.String
The type of the imposition. It can be "horizontally" or "diagonally".
Type: System.String
The type of the location. It can be "center", "leftbottom", "lefttop", "rightbottom" or "righttop".
Type: System.String
The file path of the image which will be a water mark.
Type: System.Int32
The transparency of the water mark. The value from 0 to 100.
Type: System.Int32
The offset from left. Default value is 0.
Type: System.Int32
The offset from top. Default value is 0.
// add water mark to image from screenshot ZennoPoster.ImageProcessingWaterMarkImageFromScreenshot(instance.Port, "C:\\ResultImage.jpeg", "horizontally", "center", "C:\\WaterMarkImage.jpeg", 50, 10, 10);
// add water mark to image from screenshot ZennoLab\CommandCenter\ZennoPoster::ImageProcessingWaterMarkImageFromScreenshot($instance->Port, "C:\\ResultImage.jpeg", "horizontally", "center", "C:\\WaterMarkImage.jpeg", 50, 10, 10);
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
ImageProcessingResizeFromScreenshot Method
ImageProcessingResizeFromUrl Method
ImageProcessingRotateFromFile Method
ImageProcessingRotateFromScreenshot Method
ImageProcessingRotateFromUrl Method
ImageProcessingUntreatedFromFile Method
ImageProcessingUntreatedFromScreenshot Method
ImageProcessingUntreatedFromUrl Method
ImageProcessingWaterMarkImageFromFile Method
ImageProcessingWaterMarkImageFromUrl Method
ImageProcessingWaterMarkTextFromFile Method
ImageProcessingWaterMarkTextFromScreenshot Method
ImageProcessingWaterMarkTextFromUrl Method
Instance Port Property
ImageProcessingMirrorFromFile Method
ImageProcessingMirrorFromScreenshot Method
ImageProcessingMirrorFromUrl Method