dojox
»
gfx
»
Image
» _setDimensions
dojox.gfx.Image._setDimensions
dojo.require("dojox.gfx.vml");
defined in dojox/gfx/vml.js
Usage
function (s, w, h)
(view source)
if
(
w
||
h
)
{
s.
width
= w +
"px"
; s.
height
= h +
"px"
;
}
parameter
type
description
s
w
h