setWidth

format

boolean setWidth(int width)

description

Sets the width of the MediaObject's image.

parameters

width - the new width of the image

returns

TRUE - if the image was successfully resized

 

FALSE -if the resize failed

throws

The setWidth() method does not throw any exceptions.