Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmiRasterImage (Raster image)

Description:
This element is used for displaying images with raster (PNG, JPG, GIF, TIF, BMP ...) and vector (SVG, WMF) graphic.

The vector SVG graphic is rendered as vector, but after that it is processed the same way as raster graphic. The advantage of vector graphic is thar the original image redimensioning does not reduce the image quality keeping the image "nice". Therefore all images suppiled with the PROMOTIC system are in SVG format.

For the designer, creating the pictures to fit his needs it may be easier to make for example PNG or JPG format images.

 
The PmiRasterImage element allows:
- rotation (see the configurator "Flip and rotate")
- coloring (see the configurator "Light color")
- transparency of entire image (see the configurator "Enable opacity")
- picture slit display (see the configurator "Crop image")
 
The item doesn't include the data itself from the file, it is only the reference to the file. The designer must ensure so that the corresponding file is always accessible by the application - by correctly entering the filename and setting the path to the file. It is recommended to use the files located on #pmres: or #appres: paths only
This object adopts properties and methods of object PmiItem
Properties and methods:
ColorBg Background color
ColorItem Light color
Rotation Flip and rotate picture
Src Name and path to the file with the picture
Configuration windows:
Object General information about the object
Content Content of the graphic item in the XML form
Position Setting the position, width and height of the item
Subitems It is used for creating compound items
Variables List and configuration of user defined item variables
Events Algorithms definition for the object events
Methods Definition of user's methods of the graphic item
Image Image properties.
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice