Paste Image on Draw

Kalipso - Form - Actions - Actions Description - Group Controls - Paste Image on Draw

Paste a specified image on a draw control.

Action available for the following operating systems:

Parameters

  • Control <unquoted string> - The name of the specified draw control.

  • Image <combobox> - The path to the image to be pasted. There are two options available to this parameter: dynamic or browse.

    • Dynamic <string> - a string expression indicates the complete path to the image.

    • Browse - open a window to navigate throw the file system.

  • Mode <unquoted string> - The mode of the pasted image. There are three possible options: Stretched, 100%, Proportionally Stretched or dynamic.

  • Format <unquoted string> - The type of format of the saved file. There are several formats available: Auto, JPG (.jpeg), BMP (.bmp), GIF (.gif) or PCX (.pcx).

  • X <numeric> - The X coordinate where the pasted of image begins.

  • Y <numeric> - The Y coordinate where the pasted of image begins.

  • Width <numeric> - The width of the pasted image. The pasted image begins on coordinate X,Y.

  • Height <numeric> - The height of the pasted image. The pasted image begin on coordinate X,Y.

  • Transparency Mode <unquoted string> - The transparency mode of the pasted image. There are several options available: None, First Pixel, Image Transparency, Specify Color and Dynamic.

  • Fixed Color - Defines a fixed color from the pallet of colors pre-defined.

  • Dynamic Color <string> - User can define a value of a color in RGB. The values for this parameter vary from "000000000" to "255255255".

To assume the image dimensions, user must enter 0 in parameters Width and Height.

If the value of parameter Transparency Mode is None, the options Font Color and Dynamic Color are disabled.

In the parameter Image, if the user chooses option Dynamic, please see the following pages for more information: PFOLDER and KFOLDER.

Last updated