SKPictureControl ActiveX Control



 
Control to display pictures.


Members Table

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

    Members
    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.

Remarks
    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.
CLSID
    F5996585-1B2B-442C-8185-FCB5ABC71BE2
Examples
    The following example shows a bitmap image in a SKPictureControl.

    <html>
    <head>
    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    {
       alert(document.all['SKPictureControl'].Filename);
    }
    </SCRIPT>
    </head>
    <body>
    <OBJECT ID="SKPictureControl" width="100" height="100"
    CLASSID="CLSID:F5996585-1B2B-442C-8185-FCB5ABC71BE2">
      <PARAM NAME="Filename" value="c:\mypic.bmp">
      <PARAM NAME="Stretch" value="0">
      <PARAM NAME="KeepAspectRatio" value="1">
    </OBJECT>
    <br><br>
    <a href="" onclick="javascript:ShowProp();">Show Filename</a>
    </body>
    </html>
    

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

Back to top