# Stretch Property The Stretch property indicates whether to stretch the picture to the full control size. Syntax
    document.all["id_name"].Stretch [=bool]
Possible Values
    Boolean value that specifies or retrieves the stretch status.
The property is read/write. Remarks None. Examples The following example shows the Stretch property when the link is clicked.
    <html>
    <head>
    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    {
       alert(document.all['SKPictureControl'].Stretch);
    }
    </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 Stretch</a>
    </body>
    </html>
Applies to SiteKiosk v6.0 (and later versions). Back to top