SKPictureControl ActiveX Control

Control to display pictures.

Members Table

    The following table lists the members provided by the SKPictureControl ActiveX control.

    Properties Description
    Filename Path of the picture file.
    KeepAspectRatio Whether to keep the aspect ratio.
    Stretch Whether to stretch the picture.
    Methods Description
    Resize Resizes the picture.

    This ActiveX control is available in the form of scripts that can be used in combination with SiteKiosk. Use the SKPictureControl to display bitmap images.
    To initialize the ActiveX control use the OBJECT tag and, in particular, the classID to identify the control. Set the initial object properties between the opening and closing OBJECT tags with PARAM tags. At a later point in time it will also be possible to access/modify these properties by means of scripts.

    This control shows only bitmap pictures.
    The following example shows a bitmap image in a SKPictureControl.

    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    <OBJECT ID="SKPictureControl" width="100" height="100"
      <PARAM NAME="Filename" value="c:\mypic.bmp">
      <PARAM NAME="Stretch" value="0">
      <PARAM NAME="KeepAspectRatio" value="1">
    <a href="" onclick="javascript:ShowProp();">Show Filename</a>

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top