Salesforce B2C Commerce 23.5
>
B2C Commerce API
>
B2C Commerce Script
>
dw.experience.image
Overview
API Versioning
Deprecated
dw.experience.image
Class ImageMetaData
Object
dw.experience.image.ImageMetaData
This class represents the image meta data, e.g. width and height.
See Also:
Image
Properties
height :
Number
(Read Only)
The image height.
width :
Number
(Read Only)
The image width.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getHeight
() :
Number
Returns the image height.
getWidth
() :
Number
Returns the image width.
Methods inherited from class
Object
assign
,
create
,
create
,
defineProperties
,
defineProperty
,
entries
,
freeze
,
fromEntries
,
getOwnPropertyDescriptor
,
getOwnPropertyNames
,
getOwnPropertySymbols
,
getPrototypeOf
,
hasOwnProperty
,
is
,
isExtensible
,
isFrozen
,
isPrototypeOf
,
isSealed
,
keys
,
preventExtensions
,
propertyIsEnumerable
,
seal
,
setPrototypeOf
,
toLocaleString
,
toString
,
valueOf
,
values
Method Detail
getHeight
getHeight
() :
Number
Returns the image height.
Returns:
the image height in pixel
getWidth
getWidth
() :
Number
Returns the image width.
Returns:
the image width in pixel
© Copyright 2000-2023, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.
X
Privacy Update:
We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this.
Privacy Policy.