all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

naturalWidth property

The original width of the image resource before sizing.

Internet Explorer 9

 

Syntax

JavaScript

p = object.naturalWidth

 

Property values

Type: Integer

the original width of the image.

See also

img
naturalHeight

 

 

Show:
© 2014 Microsoft