Overview
API Versioning
Deprecated
dw.experience.image
Class Image
Object
dw.experience.image.Image
====================== PAGE DESIGNER BETA API ======================
This class represents an image with additional configuration capabilities (e.g. optional focal point). Furthermore it provides access to meta data of the referenced image file.
See Also:
FocalPoint
ImageMetaData
Properties
file :
MediaFile
(Read Only)
The image media file from the current site's library.
focalPoint :
FocalPoint
(Read Only)
The focal point of the image.
metaData :
ImageMetaData
(Read Only)
The meta data of the physical image file.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getFile
() :
MediaFile
Returns the image media file from the current site's library.
getFocalPoint
() :
FocalPoint
Returns the focal point of the image.
getMetaData
() :
ImageMetaData
Returns the meta data of the physical image file.
Methods inherited from class
Object
hasOwnProperty
,
isPrototypeOf
,
propertyIsEnumerable
,
toLocaleString
,
toString
,
valueOf
Method Detail
getFile
getFile
() :
MediaFile
Returns the image media file from the current site's library.
Returns:
the image media file, or null if not found
getFocalPoint
getFocalPoint
() :
FocalPoint
Returns the focal point of the image.
Returns:
the focal point, or null if not found
getMetaData
getMetaData
() :
ImageMetaData
Returns the meta data of the physical image file.
Returns:
the meta data of the image, or null if the referenced image file does not exist
copyright © 2019 salesforce.com, inc. All rights reserved. 19.2