| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > ZennoPoster Class : ImageProcessingWaterMarkTextFromScreenshot 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 text of the water mark.
Type: System.Int32
The transparency of the water mark. The value from 0 to 100.
Type: System.String
The string of the style in format: [Font], [Size]pt, [TextSyle], ... , [TextSyle], [Color_alfa, Color_red, Color_green, Color_blue]
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 ImageProcessingWaterMarkTextFromScreenshot( int instancePort, string savePath, string imposition, string location, string text, int transparency, string style, 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 text of the water mark.
Type: System.Int32
The transparency of the water mark. The value from 0 to 100.
Type: System.String
The string of the style in format: [Font], [Size]pt, [TextSyle], ... , [TextSyle], [Color_alfa, Color_red, Color_green, Color_blue]
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 text to image from sceenshot ZennoPoster.ImageProcessingWaterMarkTextFromFile(instance.Port, "C:\\ResultImage.jpeg", "horizontally", "center", "water mark text", 50, "Tahoma, 24pt, Bold, Italic, Underline, [255;0;0;0]", 10, 10);
// add water mark text to image from sceenshot ZennoLab\CommandCenter\ZennoPoster::ImageProcessingWaterMarkTextFromFile($instance->Port, "C:\\ResultImage.jpeg", "horizontally", "center", "water mark text", 50, "Tahoma, 24pt, Bold, Italic, Underline, [255;0;0;0]", 10, 10);
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
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
ImageProcessingWaterMarkImageFromScreenshot Method
ImageProcessingWaterMarkImageFromUrl Method
ImageProcessingWaterMarkTextFromFile Method
ImageProcessingWaterMarkTextFromUrl Method