Medialon MxMs' Help  
   
Name : Medialon Picture
Version : 1.0.0
Available for : Manager V5 (All versions).
Limitation In :
Device Mark : Medialon
Positrack Compatible : Yes
Resources type : None
 
Compatible hardware interfaces - available resource modules (MRC) :
 

 

> Overview | > Installation (MXM) | > Creation (Device) | > Commands (List Of) | > Variables (List Of) | > Support


Overview :

Pictures MxM provides a way to dynamically display still pictures and editable text in Manager user's screens. Pictures supported format are JPEG, BMP, ICO and WMF. Images can be streched and scrolled at a adjustable speed, text can be written and scroll in the same way. The user can easily create a task in Manager for displaying sequences of images
.

> Top


Installation (MXM) :

No special installation required.

> Top


Creation (Device) :

Device creation window :



You can choose between to display mode : in the container of a user-screen or in a separate window where, in that case, you must check "Show window when Debug/Run" in the Setup dialog box.

Default Picture Window Settings :
These settings enable to define the aspect of the default picture window when object containers are not used to display the view.

Left :
Defines the left position of the window.

Top :
Defines the Top position of the window.

Width :
Defines the width of the window.

Height :
Defines the height of the window.

Select :

Enable to graphically select coordinates using the mouse cursor.

Screen :

Set coordinates to the current screen position and size.


Window style:
Defines if the window is a moveable, a moveable and sizeable or a fixed window.

Show window when Debug/Run:
Defines if the picture window must be displayed when Manager switches to Debug or Run mode. In that case, the picture window is not displayed in a UserScreen's container.

> Top


Commands (List Of) :

 

Set picture :

      Description : To set the picture file name to be displayed.
      Parameters :
      Picture Path [Type : String] : Full path name of the file
      Usage :
      Supported format are JPEG, BMP, ICO and WMF
Set Stretch :
      Description : To stretch the picture.
      Parameters :
      On/Off [Type : Enum] :
          Available values
          On : the picture will fit the container size.
          Off : the picture will keep its proper size.
      Usage : This command has no effect on text.

Set Scroll :
      Description : To scroll the text or the picture displayed.
      Parameters :
      Step [Type :Integer] : The amount of pixels of each scroll
      Period [Type : Integer] : The amount of time between each step in milliseconds
Write Text :
      Description : To write a text in the container.
      Parameters :
      Text [Type : String] : Text to be displayed.
      Font Name [Type : String] : Name of the font.
      Font Color [Type : Enum] : Color of the font
          Available values
          Aqua
          Black
          Blue
          DkGray
          Fuchsia
          ClGray
          Green
          Lime
          LtGray
          Maroon
          Olive
          Purple
          Red
          Silver
          Teal
          White
          Yellow
          Usage : The names of the colors are language dependent
      Font Size [Type : Integer] : The size of the font
      Background Color [Type : Enum] : Color of the background
          Available values
          Aqua
          Black
          Blue
          DkGray
          Fuchsia
          ClGray
          Green
          Lime
          LtGray
          Maroon
          Olive
          Purple
          Red
          Silver
          Teal
          White
          Yellow
          Usage : The names of the colors are language dependent

Stamp an image :
      Description : Stamp a image into the existing image.
      Parameters :
      Picture filename [Type : String] : Full path name of the file.
      Top [Type : Integer] : Top position where to stamp the image.
      Left [Type : Integer] : Left position where to stamp the image.
      Transparency [Type : Enum] :
          Available values
          Off: no transparency.
          On: the color of the fist pixel (0,0) of the stamp will be considered as the transparency color.
      ID [Type : Integer] : The ID of stamp (used in the next commands).
      Usage :
      Supported format are JPEG, BMP, ICO and WMF. Transparent color is selected on the pixel 0,0 of the image.
Move stamp :
      Description : To move a stamp previously added.
      Parameters :
      Top [Type :Integer] : The new top coordinate of the stamp
      Left [Type : Integer] : The new left coordinate of the stamp
      ID [Type : Integer] : The ID of stamp.
Remove stamp :
      Description : To remove a stamp from the image.
      Parameters :
      ID [Type : Integer] : The ID of stamp.

    > Top


    Variables (List Of) :


    none

    > Top


    Support (Difference with previous versions) :

     

    > Top